#NEWLINE# def test_nested_field_order_with_only_arg_is_maintained_on_dump( self , user ) : #NEWLINE# #INDENT# schema = OrderedNestedOnly ( ) #NEWLINE# ( data , errs ) = schema . dump ( { #NEWLINE# #INDENT# 'user' : user , #NEWLINE# #UNINDENT# } ) #NEWLINE# user_data = data [ 'user' ] #NEWLINE# keys = list ( schema ) #NEWLINE# assert ( keys == [ 'name' , 'email' , 'age' , 'created' , 'id' , 'homepage' , 'birthdate' ] )