Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Atp v3 (#35)
Browse files Browse the repository at this point in the history
* Update to beta ATP v3

* Update tests for new ATP run ID

* Update tests for new ATP run ID

* Upgrade to latest SDK

* Update lock file
  • Loading branch information
jaredoconnell authored Oct 31, 2023
1 parent 20bbbee commit afdc232
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 49 deletions.
94 changes: 48 additions & 46 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.9"
arcaflow-plugin-sdk = "^0.11.0"
arcaflow-plugin-sdk = "~0.13.0"

[tool.poetry.dev-dependencies]
coverage = "^7.0.0"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_arcaflow_plugin_wait.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_functional(self):
seconds=WAIT_TIME
)
wait_step = arcaflow_plugin_wait.WaitStep()
output_id, output_data = wait_step.wait(input_params)
output_id, output_data = wait_step.wait(self.id(), input_params)

self.assertEqual("success", output_id)
self.assertEqual(
Expand All @@ -57,7 +57,7 @@ def test_functional(self):
wait_step = arcaflow_plugin_wait.WaitStep()
wait_step.cancel_step(wait_step, predefined_schemas.cancelInput())
start_time = time.time()
output_id, output_data = wait_step.wait(input_params)
output_id, output_data = wait_step.wait(self.id(), input_params)
run_duration = time.time() - start_time
# It starts in a cancelled state, so it should be plenty less than
# the full wait time.
Expand Down

0 comments on commit afdc232

Please sign in to comment.