Skip to content

Commit c6c79e0

Browse files
committed
[qa] Reformatted with double quotes
1 parent 4e6344d commit c6c79e0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/django_restframework_gis_tests/serializers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"GeometrySerializerMethodFieldSerializer",
4242
"GeometrySerializer",
4343
"BoxedLocationGeoFeatureWithBBoxGeoFieldSerializer",
44-
"OtherSridLocationGeoSerializer"
44+
"OtherSridLocationGeoSerializer",
4545
]
4646

4747

@@ -62,8 +62,8 @@ class OtherSridLocationGeoSerializer(gis_serializers.GeoFeatureModelSerializer):
6262

6363
class Meta:
6464
model = OtherSridLocation
65-
geo_field = 'geometry'
66-
fields = '__all__'
65+
geo_field = "geometry"
66+
fields = "__all__"
6767

6868

6969
class PaginatedLocationGeoSerializer(pagination.PageNumberPagination):

tests/django_restframework_gis_tests/tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ def test_geojson_false_id_attribute_slug(self):
313313
def test_geojson_srid_transforms_to_wgs84(self):
314314
location = OtherSridLocation.objects.create(
315315
name="other SRID location",
316-
geometry='POINT(625826.2376404074 483198.2074507246)',
316+
geometry="POINT(625826.2376404074 483198.2074507246)",
317317
)
318-
url = reverse('api_other_srid_location_details', args=[location.id])
318+
url = reverse("api_other_srid_location_details", args=[location.id])
319319
response = self.client.get(url)
320320
expected_coords = (16.372500007573713, 48.20833306345481)
321321
expected_coords_bbox = (
@@ -324,7 +324,7 @@ def test_geojson_srid_transforms_to_wgs84(self):
324324
16.372500007573713,
325325
48.20833306345481,
326326
)
327-
self.assertEqual(response.data['properties']['name'], 'other SRID location')
327+
self.assertEqual(response.data["properties"]["name"], "other SRID location")
328328
for received, expected in zip(
329329
response.data["geometry"]["coordinates"],
330330
expected_coords,

0 commit comments

Comments
 (0)