From 77c58903358cfcca8983b8301d0c14bd2ba73f19 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sun, 8 Jun 2025 01:33:01 +0200 Subject: fix filenames in archive test --- tests/integration/test_browse.py | 4 ++-- 1 file 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() -- cgit v1.2.3