#NEWLINE# def test_large( self ) : #NEWLINE# #INDENT# payload_item = { #NEWLINE# #INDENT# 'organization' : uuid . uuid4 ( ) . hex , #NEWLINE# 'user' : uuid . uuid4 ( ) . hex , #NEWLINE# 'id' : uuid . uuid4 ( ) . hex , #NEWLINE# 'is_active' : False , #NEWLINE# 'is_pending' : True , #NEWLINE# 'members' : [ { #NEWLINE# #INDENT# 'id' : uuid . uuid4 ( ) . hex , #NEWLINE# 'organization' : uuid . uuid4 ( ) . hex , #NEWLINE# 'is_dead' : False , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } #NEWLINE# payload = ( [ payload_item ] * 100 ) #NEWLINE# self . serialize ( payload ) #NEWLINE# assert ( payload_item . content == json . dumps ( payload , ensure_ascii = False ) )