Skip to content

Commit

Permalink
Update tests/test_validators.py
Browse files Browse the repository at this point in the history
Co-authored-by: Paolo Melchiorre <[email protected]>
  • Loading branch information
auvipy and pauloxnet authored Dec 28, 2024
1 parent 8709053 commit 861998e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ def test_single_field_uniq_validators(self):
"""
# Django 5 includes Max and Min values validators for IntergerField
extra_validators_qty = 2 if django_version[0] >= 5 else 0
#
serializer = UniqueConstraintSerializer()
assert len(serializer.validators) == 2
validators = serializer.fields['global_id'].validators
Expand Down

0 comments on commit 861998e

Please sign in to comment.