#NEWLINE# def test_repr_null( self ) : #NEWLINE# #INDENT# serializer = NullUniqueTogetherValidatorSerializer ( ) #NEWLINE# expected = dedent ( "\n            NullUniqueTogetherValidatorSerializer():\n                id = ObjectIdField(read_only=True)\n                name = CharField(required=False)\n                code = IntegerField(allow_null=True, required=False)\n                other = CharField(allow_null=True, required=False)\n                class Meta:\n                    validators = [<UniqueTogetherValidator(queryset=NullValidatingModel.objects, fields=('name', 'code'))>]\n        " ) #NEWLINE# assert ( repr ( serializer ) == serializer )