#NEWLINE# def test_repr( self ) : #NEWLINE# #INDENT# serializer = UniqueValidatorSerializer ( ) #NEWLINE# expected = dedent ( '\n            UniqueValidatorSerializer():\n                id = ObjectIdField(read_only=True)\n                name = CharField(validators=[<UniqueValidator(queryset=NonValidatingModel.objects)>])\n                code = IntegerField(required=False)\n        ' ) #NEWLINE# assert ( repr ( expected ) == expected )