fix: tell a pack note by its name, not its path

This commit is contained in:
Abdessamad Derraz committed 2026-10-17 10:38:18 +02:00
1 parent ccb35b9b82
commit af4b43d64c
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -3734,7 +3734,7 @@ class TestE2E(unittest.TestCase):
zip_names = {
n
for n in zf.namelist()
if not n.startswith(("INSTRUCTIONS_", "RENAMED_"))
if not n.rsplit("/", 1)[-1].startswith(("INSTRUCTIONS_", "RENAMED_"))
and n != "manifest.json"
and n != "README.txt"
}