#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# #UNINDENT# } #NEWLINE# payload = ( [ payload_item ] * 100 ) #NEWLINE# text = json . dumps ( payload , ensure_ascii = False ) #NEWLINE# self . deserialize ( text . encode ( 'utf8' ) ) #NEWLINE# assert ( self . data == text )