refactor: read the gap report through its helper

test_launcher_layer looked for find_undeclared_files in the extras
collector, which now reaches it through undeclared_report.
This commit is contained in:
Abdessamad Derraz committed 2026-10-21 05:43:14 +02:00
1 parent bdcc8f0fb6
commit 5b7f8526a8
1 file changed
+4 -1
+4 -1
View File
@@ -264,7 +264,10 @@ class LauncherLayerTest(unittest.TestCase):
self.assertIn("LauncherLayer(", inspect.getsource(verify.find_undeclared_files))
self.assertIn(".settle(", inspect.getsource(verify.find_undeclared_files))
self.assertIn(
"find_undeclared_files(", inspect.getsource(packextras._collect_emulator_extras)
"undeclared_report(", inspect.getsource(packextras._collect_emulator_extras)
)
self.assertIn(
"find_undeclared_files(", inspect.getsource(packextras.undeclared_report)
)
for module in (generate_pack, packextras, verify):
source = inspect.getsource(module)