refactor: split the platform pack plan and zip

This commit is contained in:
Abdessamad Derraz committed 2026-11-24 06:20:08 +01:00
1 parent c8258522a4
commit 83055b87ea
15 files changed
+1033 -991

No files matched your search

+2 -2
View File
@@ -360,11 +360,11 @@ class AVersionTakenWithoutACheck(unittest.TestCase):
))
def test_the_pack_reads_it_as_an_alternative(self):
from packs import platformpack
from packs import platformzip
fe = {"name": "BLOOD.RFF", "source_profile": "raze", "source_path": "BLOOD.RFF"}
with tempfile.TemporaryDirectory() as tmp:
self.assertTrue(platformpack._matches_an_alternative(
self.assertTrue(platformzip._matches_an_alternative(
fe, self._file(tmp), {"raze": self.RAZE}
))