Skip to content

Commit 198aeb2

Browse files
committed
fixing var name in test script and remove function call
1 parent b77865a commit 198aeb2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/test_api.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ def test_initialize_api():
1010
def test_geojson():
1111
api = overpass.API(debug=True)
1212

13-
MapQuery = overpass.MapQuery(37.86517, -122.31851, 37.86687, -122.31635)
14-
print MapQuery
15-
osm_geo = api.get(MapQuery)
13+
map_query = overpass.MapQuery(37.86517, -122.31851, 37.86687, -122.31635)
14+
osm_geo = api.get(map_query)
1615
print osm_geo
1716
assert len(osm_geo['features']) > 1
1817

1918
osm_geo = api.get('node(area:3602758138)[amenity=cafe]')
2019
assert len(osm_geo['features']) > 1
21-
22-
test_geojson()

0 commit comments

Comments
 (0)