mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-02-18 05:00:33 +03:00
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
de157ac760
commit
f366951b79
|
|
@ -278,7 +278,7 @@ class TestUniquenessTogetherValidation(TestCase):
|
|||
def test_is_unique_together_condition_based(self):
|
||||
"""
|
||||
In a condition-based unique together validation, data is valid when
|
||||
the constrained field differs when the condition applies`.
|
||||
the constrained field differs when the condition applies.
|
||||
"""
|
||||
ConditionUniquenessTogetherModel.objects.create(race_name='example', position=1)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user