From 536f658abbed9e6d040d4b90c6a1f82d04fa66c9 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Mon, 9 Dec 2024 22:04:31 +0100 Subject: [PATCH] fix another test --- tests/test_zip.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/test_zip.py b/tests/test_zip.py index a5450cc..ea098b6 100644 --- a/tests/test_zip.py +++ b/tests/test_zip.py @@ -24,16 +24,11 @@ def test_zipped_correctly(tmpdir): gallery = make_gallery(destination=outpath, zip_gallery="archive.zip") gallery.build() - zipf = os.path.join(outpath, "test1", "archive.zip") + zipf = os.path.join(outpath, "test2", "archive.zip") assert os.path.isfile(zipf) zip_file = zipfile.ZipFile(zipf, "r") - expected = ( - "11.jpg", - "CMB_Timeline300_no_WMAP.jpg", - "flickr_jerquiaga_2394751088_cc-by-nc.jpg", - "example.gif", - ) + expected = ("21.tiff", "22.jpg", "CMB_Timeline300_no_WMAP.jpg") for filename in zip_file.namelist(): assert filename in expected