refactor: point tests at the packs modules

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 13:47:31 +01:00
1 parent f48b66b540
commit 74207e25fc
50 files changed
+321 -259

No files matched your search

+2 -1
View File
@@ -12,6 +12,7 @@ profiles, placed below that folder.
from __future__ import annotations
import tests
from tests.sources import script_source
import contextlib
import hashlib
@@ -458,7 +459,7 @@ class TheWholeTreeKeepsCoresMinUILeavesOut(unittest.TestCase):
def test_both_readers_build_the_set_the_same_way(self):
for script in ("cross_reference.py", "generate_site.py"):
source = (REPO_ROOT / "scripts" / script).read_text(encoding="utf-8")
source = script_source(script)
with self.subTest(script=script):
self.assertIn("merged_standalone_set(", source)
self.assertNotIn("set().union(*(\n standalone_set(", source)