mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 21:14:01 +03:00
Drop print statements in tests
This commit is contained in:
parent
87ac64e41b
commit
1087ccbb25
|
@ -245,8 +245,6 @@ class TestCharHTMLInput:
|
||||||
message = serializers.CharField(allow_null=True, allow_blank=True)
|
message = serializers.CharField(allow_null=True, allow_blank=True)
|
||||||
|
|
||||||
serializer = TestSerializer(data=MockHTMLDict({}))
|
serializer = TestSerializer(data=MockHTMLDict({}))
|
||||||
print serializer.is_valid()
|
|
||||||
print serializer.errors
|
|
||||||
assert serializer.is_valid()
|
assert serializer.is_valid()
|
||||||
assert serializer.validated_data == {'message': ''}
|
assert serializer.validated_data == {'message': ''}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user