mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-30 21:38:55 -06:00
refactor: point tests at the packs modules
This commit is contained in:
1 parent
f48b66b540
commit
74207e25fc
50 files changed
+321
-259
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user