mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-05-27 17:53:19 +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',)
|
fields = ('renamed',)
|
||||||
|
|
||||||
|
|
||||||
class TestPreSaveValidationExclusions(TestCase):
|
class TestPreSaveValidationExclusionsSerializer(TestCase):
|
||||||
def test_renamed_fields_are_model_validated(self):
|
def test_renamed_fields_are_model_validated(self):
|
||||||
"""
|
"""
|
||||||
Ensure fields with 'source' applied do get still get model validation.
|
Ensure fields with 'source' applied do get still get model validation.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user