#NEWLINE# def test_null_uuid_foreign_key_serializes_as_none( self ) : #NEWLINE# #INDENT# source = NullableUUIDForeignKeySource ( name = 'Source' ) #NEWLINE# serializer = NullableUUIDForeignKeySourceSerializer ( serializer ) #NEWLINE# data = serializer . data #NEWLINE# self . assertEqual ( data [ 'target' ] , None )