Skip to content

Commit 5011fc7

Browse files
committed
Test on float not dict
1 parent bc26cf6 commit 5011fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def test_client_request_geometry(self):
9696
clnt = client.Client(provider, agent)
9797
response = clnt.request("/v2/directions/" + profile + "/geojson", {}, post_json=params)
9898
self.assertAlmostEqual(
99-
response["features"][0]["geometry"], test_response["features"][0]["geometry"]
99+
response["features"][0]["geometry"]["coordinates"][0][0], test_response["features"][0]["geometry"]["coordinates"][0][0]
100100
)
101101

102102
def test_output_feature_directions(self):

0 commit comments

Comments
 (0)