diff options
author | Daniel Schadt <kingdread@gmx.de> | 2025-06-08 01:33:01 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2025-06-08 01:38:20 +0200 |
commit | 77c58903358cfcca8983b8301d0c14bd2ba73f19 (patch) | |
tree | a98f791de2f25fa5b6213d9f3fc457996944f30e /tests/integration/test_browse.py | |
parent | 41cb0a5b2eef055c0dc7ac864469068c7b393d14 (diff) | |
download | fietsboek-77c58903358cfcca8983b8301d0c14bd2ba73f19.tar.gz fietsboek-77c58903358cfcca8983b8301d0c14bd2ba73f19.tar.bz2 fietsboek-77c58903358cfcca8983b8301d0c14bd2ba73f19.zip |
fix filenames in archive test
Diffstat (limited to 'tests/integration/test_browse.py')
-rw-r--r-- | tests/integration/test_browse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/test_browse.py b/tests/integration/test_browse.py index 412b042..6913479 100644 --- a/tests/integration/test_browse.py +++ b/tests/integration/test_browse.py @@ -91,5 +91,5 @@ def test_archive(testapp, dbsession, route_path, logged_in, tm, data_manager): with zipfile.ZipFile(result, 'r') as zipped: assert len(zipped.namelist()) == 2 - assert "track_1.gpx" in zipped.namelist() - assert "track_2.gpx" in zipped.namelist() + assert f"track_{tracks[0]}.gpx" in zipped.namelist() + assert f"track_{tracks[1]}.gpx" in zipped.namelist() |