fix: read verify's verdict call across lines

The source check matched the call on one line; passing the RomM hash rule
split it, and the check failed although verify still applies the rule.
This commit is contained in:
Abdessamad Derraz committed 2026-10-18 08:22:56 +02:00
1 parent e75482777d
commit 2433ef30c0
1 file changed
+4 -3
+4 -3
View File
@@ -54,9 +54,10 @@ class OneRule(unittest.TestCase):
occupying its path; the builder leaves it out, and the core file
that then takes the path was reported missing from the pack."""
source = (REPO_ROOT / "scripts" / "verify.py").read_text(encoding="utf-8")
self.assertIn(
"baseline_verdict(file_entry, local_path, resolve_status, mode)[1] is None",
source,
compact = " ".join(source.split())
self.assertRegex(
compact,
r"baseline_verdict\( file_entry, local_path, resolve_status, mode.{0,60}?\)\[1\] is None",
)