Skip to content

Commit

Permalink
fix prompty test
Browse files Browse the repository at this point in the history
  • Loading branch information
0mza987 committed Apr 11, 2024
1 parent d288f5e commit 3906d7c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,11 @@ def test_upload_flex_flow_run_without_yaml(self, pf: PFClient, randstr: Callable
def test_upload_prompty_run(self, pf: PFClient, randstr: Callable[[str], str]):
# currently prompty run is skipped for upload, this test should be finished without error
local_pf, name = Local2CloudTestHelper.get_local_pf_and_run_name(randstr)
run = pf.run(flow=f"{PROMPTY_DIR}/prompty_example.prompty", data=f"{DATAS_DIR}/prompty_inputs.jsonl")
run = local_pf.run(
flow=f"{PROMPTY_DIR}/prompty_example.prompty",
data=f"{DATAS_DIR}/prompty_inputs.jsonl",
name=name,
)
assert run.status == "Completed"
assert "error" not in run._to_dict()

Expand Down

0 comments on commit 3906d7c

Please sign in to comment.