mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 19:43:59 +03:00
Merge pull request #1307 from lukaszb/test-class-name-duplicated
Updated test class name to be unique
This commit is contained in:
commit
c66b0f8835
|
@ -52,7 +52,7 @@ class ShouldValidateModelSerializer(serializers.ModelSerializer):
|
|||
fields = ('renamed',)
|
||||
|
||||
|
||||
class TestPreSaveValidationExclusions(TestCase):
|
||||
class TestPreSaveValidationExclusionsSerializer(TestCase):
|
||||
def test_renamed_fields_are_model_validated(self):
|
||||
"""
|
||||
Ensure fields with 'source' applied do get still get model validation.
|
||||
|
|
Loading…
Reference in New Issue
Block a user