mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-01 13:58:55 -06:00
chore: align three tests with the shared helpers
This commit is contained in:
1 parent
6c0679095e
commit
6aee415098
4 files changed
+13
-7
No files matched your search
@@ -454,10 +454,14 @@ class TheWholeTreeKeepsCoresMinUILeavesOut(unittest.TestCase):
|
||||
self.assertEqual(layouts, [(profile, False)])
|
||||
|
||||
def test_both_readers_build_the_set_the_same_way(self):
|
||||
# The site reaches the merge through global_report_scope, the scope
|
||||
# it shares with the gap report.
|
||||
for script in ("cross_reference.py", "generate_site.py"):
|
||||
source = script_source(script)
|
||||
with self.subTest(script=script):
|
||||
self.assertIn("merged_standalone_set(", source)
|
||||
self.assertTrue(
|
||||
"merged_standalone_set(" in source or "global_report_scope(" in source
|
||||
)
|
||||
self.assertNotIn("set().union(*(\n standalone_set(", source)
|
||||
self.assertNotIn("*(standalone_set(cov", source)
|
||||
|
||||
|
||||
Reference in new issue
Block a user