Skip to content

Commit 9b476dc

Browse files
committed
test fix
1 parent 4a17784 commit 9b476dc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_cli_local_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,11 @@ def test_local_test_selector_single_test(tmp_path, monkeypatch):
123123
test_file.write_text("def test_dummy():\n assert True\n", encoding="utf-8")
124124

125125
from eval_protocol.cli_commands import local_test as lt
126-
from eval_protocol.cli_commands import upload as up
127126

128127
# No entry; force discover + selector
129128
disc = SimpleNamespace(qualname="metric.test_sel", file_path=str(test_file))
130129
monkeypatch.setattr(lt, "_discover_tests", lambda root: [disc])
131-
monkeypatch.setattr(up, "_prompt_select", lambda tests, non_interactive=False: tests[:1])
130+
monkeypatch.setattr(lt, "_prompt_select", lambda tests, non_interactive=False: tests[:1])
132131
monkeypatch.setattr(lt, "_find_dockerfiles", lambda root: [])
133132

134133
called = {"host": False}

0 commit comments

Comments
 (0)