We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a513bc commit 6e828f8Copy full SHA for 6e828f8
tests/test_validators.py
@@ -752,7 +752,7 @@ def test_single_field_uniq_validators(self):
752
753
validators = serializer.fields['fancy_conditions'].validators
754
assert len(validators) == 2 + extra_validators_qty
755
- ids_in_qs = {frozenset(v.queryset.values_list('id',flat=True)) for v in validators if hasattr(v, "queryset")}
+ ids_in_qs = {frozenset(v.queryset.values_list('id', flat=True)) for v in validators if hasattr(v, "queryset")}
756
assert ids_in_qs == {frozenset([1]), frozenset([3])}
757
758
def test_nullable_unique_constraint_fields_are_not_required(self):
0 commit comments