Skip to content

Commit c6317f7

Browse files
author
Dylan Huang
committed
try fix
1 parent 3e14403 commit c6317f7

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tests/test_cli_create_rft.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,12 @@ def _fake_create_dataset_from_jsonl(account_id, api_key, api_base, dataset_id, d
10311031
assert captured["jsonl_path"] == str(jsonl_path)
10321032

10331033

1034-
def test_cli_full_command_style_evaluator_and_dataset_flags(monkeypatch):
1034+
def test_cli_full_command_style_evaluator_and_dataset_flags(tmp_path, monkeypatch):
1035+
# Isolate CWD so _discover_tests doesn't run pytest in the real project
1036+
project = tmp_path / "proj"
1037+
project.mkdir()
1038+
monkeypatch.chdir(project)
1039+
10351040
# Env
10361041
monkeypatch.setenv("FIREWORKS_API_KEY", "fw_dummy")
10371042
monkeypatch.setenv("FIREWORKS_ACCOUNT_ID", "pyroworks-dev")

0 commit comments

Comments
 (0)