aboutsummaryrefslogtreecommitdiff
path: root/.ai/scripts/tests
diff options
context:
space:
mode:
Diffstat (limited to '.ai/scripts/tests')
-rw-r--r--.ai/scripts/tests/test_broadcast.py (renamed from .ai/scripts/tests/test_cross_project_broadcast.py)6
1 files changed, 3 insertions, 3 deletions
diff --git a/.ai/scripts/tests/test_cross_project_broadcast.py b/.ai/scripts/tests/test_broadcast.py
index 5919fbf..a0decf5 100644
--- a/.ai/scripts/tests/test_cross_project_broadcast.py
+++ b/.ai/scripts/tests/test_broadcast.py
@@ -1,4 +1,4 @@
-"""Tests for cross-project-broadcast.py: project fingerprinting + discovery.
+"""Tests for broadcast.py: project fingerprinting + discovery.
Plain python3 script. The pure-ish helpers are driven against tmp project
trees; discovery is exercised with SEARCH_ROOTS monkeypatched to the tree, and
@@ -11,12 +11,12 @@ from pathlib import Path
import pytest
-SCRIPT = Path(__file__).resolve().parents[1] / "cross-project-broadcast.py"
+SCRIPT = Path(__file__).resolve().parents[1] / "broadcast.py"
@pytest.fixture(scope="module")
def bcast():
- spec = importlib.util.spec_from_file_location("cross_project_broadcast", SCRIPT)
+ spec = importlib.util.spec_from_file_location("broadcast", SCRIPT)
assert spec and spec.loader
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)