#NEWLINE# def test_geojson_renderer_renames_geometry_field( self ) : #NEWLINE# #INDENT# geojson = self . _rendered ( { #NEWLINE# #INDENT# 'records' : [ { #NEWLINE# #INDENT# 'location' : [ 0 , 0 ] , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# geometry = json . loads ( self ) [ 'features' ] [ 0 ] [ 'geometry' ] #NEWLINE# self . assertDictEqual ( geometry , { #NEWLINE# #INDENT# 'type' : 'Point' , #NEWLINE# 'coordinates' : [ 0 , 0 ] , #NEWLINE# #UNINDENT# } )