#NEWLINE# def test_G_no_schema_no_extra( self ) : #NEWLINE# #INDENT# actual_data = G ( self . conn , _id = '123' , key_1 = 'value-1' , key_2 = 'value-2' ) #NEWLINE# expected_data = { #NEWLINE# #INDENT# '_id' : '123' , #NEWLINE# 'key_1' : 'value-1' , #NEWLINE# 'key_2' : 'value-2' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( actual_data , expected_data ) #NEWLINE# documents = list ( self . conn . find ( ) ) #NEWLINE# self . assertEqual ( len ( documents ) , 1 ) #NEWLINE# self . assertEqual ( documents [ 0 ] , expected_data )