Skip to content

Commit

Permalink
test that databases are downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Jan 16, 2025
1 parent 4d5fcfc commit 05008fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,10 @@ def test_start_and_stop_grout():
json = response.json()
assert json["data"]["datasets"]["tile"]["gadm41"]["levels"] == ["admin0", "admin1", "admin2"]

# check expected tile databases exist
assert os.path.exists("data/gadm41/admin0.mbtiles")
assert os.path.exists("data/gadm41/admin1.mbtiles")
assert os.path.exists("data/gadm41/admin2.mbtiles")

main(["stop"])
assert not docker_util.container_exists("grout")

0 comments on commit 05008fa

Please sign in to comment.