Skip to content

Commit ac5be36

Browse files
committed
update test
1 parent 5885822 commit ac5be36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_cli_create_rft.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,11 @@ def _fake_post(url, json=None, headers=None, timeout=None):
11341134
# Job id sent as query param
11351135
assert captured["url"] is not None and "reinforcementFineTuningJobId=custom-job-123" in captured["url"]
11361136
assert "jobId" not in body
1137+
# New fields:
1138+
# - quiet is always included (False unless --quiet is passed), because we only filter None fields.
1139+
# - sourceJob is only included if provided (None is filtered out).
1140+
assert body["quiet"] is False
1141+
assert "sourceJob" not in body
11371142

11381143

11391144
def test_create_rft_prefers_explicit_dataset_jsonl_over_input_dataset(rft_test_harness, monkeypatch):

0 commit comments

Comments
 (0)