Drop print statements in tests

This commit is contained in:
Tom Christie 2014-12-18 10:39:00 +00:00
parent 87ac64e41b
commit 1087ccbb25

View File

@ -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': ''}