@@ -106,7 +106,7 @@ def test_post_location_list_geojson(self):
106106        self .assertEqual (Location .objects .count (), 2 )
107107
108108    def  test_post_location_list_geojson_as_multipartformdata (self ):
109-         """  emulate sending geojson string in webform  """ 
109+         """emulate sending geojson string in webform""" 
110110        self .assertEqual (Location .objects .count (), 0 )
111111        data  =  {
112112            "name" : "geojson input test" ,
@@ -278,7 +278,7 @@ def test_post_location_list_invalid_geojson(self):
278278        self .assertEqual (response .data ['geometry' ][0 ], self .gdal_error_message )
279279
280280    def  test_geojson_format (self ):
281-         """  test geojson format  """ 
281+         """test geojson format""" 
282282        location  =  Location .objects .create (
283283            name = 'geojson test' , geometry = 'POINT (135.0 45.0)' 
284284        )
@@ -339,7 +339,9 @@ def test_post_geojson_id_attribute(self):
339339        }
340340        url  =  reverse ('api_geojson_location_writable_id_list' )
341341        response  =  self .client .post (
342-             url , data = json .dumps (data ), content_type = 'application/json' ,
342+             url ,
343+             data = json .dumps (data ),
344+             content_type = 'application/json' ,
343345        )
344346        self .assertEqual (response .status_code , 201 )
345347        self .assertEqual (Location .objects .count (), 1 )
@@ -489,7 +491,7 @@ def test_geofeatured_model_serializer_compatible_with_geomodel_serializer(self):
489491        self .assertEqual (Location .objects .count (), 1 )
490492
491493    def  test_geofeatured_model_post_as_multipartformdata (self ):
492-         """  emulate sending geojson string in webform  """ 
494+         """emulate sending geojson string in webform""" 
493495        self .assertEqual (Location .objects .count (), 0 )
494496        data  =  {
495497            "name" : "geojson input test" ,
@@ -716,14 +718,17 @@ def test_geojson_pagination(self):
716718    def  test_pickle (self ):
717719        geometry  =  GEOSGeometry ('POINT (30 10)' )
718720        geojsondict  =  GeoJsonDict (
719-             (('type' , geometry .geom_type ), ('coordinates' , geometry .coords ),)
721+             (
722+                 ('type' , geometry .geom_type ),
723+                 ('coordinates' , geometry .coords ),
724+             )
720725        )
721726        pickled  =  pickle .dumps (geojsondict )
722727        restored  =  pickle .loads (pickled )
723728        self .assertEqual (restored , geojsondict )
724729
725730    def  test_geometrycollection_geojson (self ):
726-         """  test geometry collection geojson behaviour  """ 
731+         """test geometry collection geojson behaviour""" 
727732        location  =  Location .objects .create (
728733            name = 'geometry collection geojson test' ,
729734            geometry = 'GEOMETRYCOLLECTION (' 
0 commit comments