Skip to content

Commit

Permalink
changed country_iso in cli geocode tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtravis committed Nov 7, 2023
1 parent fd87791 commit 0daad7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_open_buildings.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,6 @@ def test_cli_get_buildings_geocode(tmp_path: Path):
Tests the geocoding functionality, implemented as the argument "location".
"""
output_path = tmp_path.joinpath("geocode_test.json")
subprocess.run(["ob", "get_buildings", "--dst", str(output_path), "--location", "oxford uk", "--country_iso", "UK"], check=True)
subprocess.run(["ob", "get_buildings", "--dst", str(output_path), "--location", "oxford uk", "--country_iso", "GB"], check=True)
assert os.path.exists(output_path)
assert os.path.getsize(output_path) != 0

0 comments on commit 0daad7c

Please sign in to comment.