From 6fc82f8e469d69905cedeff14c6e2e7e9e794301 Mon Sep 17 00:00:00 2001 From: Oikantik Basu <140976895+Golden007-prog@users.noreply.github.com> Date: Tue, 1 Dec 2026 06:31:52 +0530 Subject: [PATCH] test: match the broken workflow package namespace Refs #5651 Assisted-by: OpenAI Codex (model: GPT-6, autonomous) --- tests/specify_cli/workflows/function/test_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/specify_cli/workflows/function/test_loader.py b/tests/specify_cli/workflows/function/test_loader.py index 7507a8f147..c6a0abb9f7 100644 --- a/tests/specify_cli/workflows/function/test_loader.py +++ b/tests/specify_cli/workflows/function/test_loader.py @@ -211,7 +211,7 @@ def test_import_failure_after_submodule_import_leaves_no_submodules(self, projec ) (package / "helpers.py").write_text("X = 1\n") self.assert_only_healthy_loaded(project_dir) - assert not [n for n in sys.modules if n.startswith(PREFIX) and "bad" in n] + assert not [n for n in sys.modules if n.startswith(PREFIX + "bad_")] def test_syntax_error(self, project_dir): self.healthy(project_dir)