Skip to content

Commit

Permalink
bump python to 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
superstar54 committed Dec 15, 2024
1 parent 52086c4 commit 7a6291b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
"aiida-core>=2.3",
"cloudpickle",
"aiida-shell~=0.8",
"aiida-pythonjob==0.1.4",
"aiida-pythonjob>=0.1.6",
"fastapi",
"uvicorn",
"pydantic_settings",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ def test_pause_play_task(wg_calcjob):
wg.pause_tasks(["add1"])
wg.submit()
# wait for the workgraph to launch add1
wg.wait(tasks={"add1": ["CREATED"]}, timeout=40, interval=5)
wg.wait(tasks={"add1": ["CREATED"]}, timeout=60, interval=5)
assert wg.tasks.add1.node.process_state.value.upper() == "CREATED"
assert wg.tasks.add1.node.process_status == "Paused through WorkGraph"
# pause add2 after submit
wg.pause_tasks(["add2"])
wg.play_tasks(["add1"])
# wait for the workgraph to launch add2
wg.wait(tasks={"add2": ["CREATED"]}, timeout=40, interval=5)
wg.wait(tasks={"add2": ["CREATED"]}, timeout=60, interval=5)
assert wg.tasks.add2.node.process_state.value.upper() == "CREATED"
assert wg.tasks.add2.node.process_status == "Paused through WorkGraph"
# I disabled the following lines because the test is not stable
Expand Down

0 comments on commit 7a6291b

Please sign in to comment.