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 5962411 commit d6aa1d5
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 @@ -560,7 +560,6 @@ def test_repr(self):
class Meta:
validators = \[<UniqueTogetherValidator\(queryset=UniqueConstraintModel.objects.all\(\), fields=\('race_name', 'position'\), condition=<Q: \(AND: \('race_name', 'example'\)\)>\)>\]
""")
print(repr(serializer))
assert re.search(expected, repr(serializer)) is not None

def test_unique_together_condition(self):
Expand Down

0 comments on commit d6aa1d5

Please sign in to comment.