File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/django_restframework_gis_tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -562,8 +562,8 @@ def test_patch_geojson_location(self):
562562 )
563563 self .assertEqual (response .status_code , 200 )
564564 location_reloaded = Location .objects .get (pk = location .id )
565- self .assertEquals (location_reloaded .name , 'geojson successful patch test' )
566- self .assertEquals (
565+ self .assertEqual (location_reloaded .name , 'geojson successful patch test' )
566+ self .assertEqual (
567567 location_reloaded .geometry , Point (10.1 , 10.1 , srid = location .geometry .srid )
568568 )
569569
@@ -578,8 +578,8 @@ def test_patch_geojson_location_wo_changing_geometry(self):
578578 )
579579 self .assertEqual (response .status_code , 200 )
580580 location_reloaded = Location .objects .get (pk = location .id )
581- self .assertEquals (location_reloaded .name , 'geojson successful patch test' )
582- self .assertEquals (
581+ self .assertEqual (location_reloaded .name , 'geojson successful patch test' )
582+ self .assertEqual (
583583 location_reloaded .geometry , Point (135.0 , 45.0 , srid = location .geometry .srid )
584584 )
585585
You can’t perform that action at this time.
0 commit comments