#NEWLINE# def _test_format( self , uuid_format , formatted_uuid_0 ) : #NEWLINE# #INDENT# field = serializers . UUIDField ( format = uuid_format ) #NEWLINE# assert ( field . to_representation ( uuid . UUID ( int = 0 ) ) == formatted_uuid_0 ) #NEWLINE# assert ( field . to_internal_value ( formatted_uuid_0 ) == uuid . UUID ( int = 0 ) )