Skip to content

Commit

Permalink
Run ruff --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Apr 24, 2023
1 parent 6374617 commit 9311580
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/workers/test_base_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,11 +369,8 @@ def get_client_spy(*args, **kwargs):
def test_flow():
pass

create_run_with_deployment = (
lambda state: orion_client.create_flow_run_from_deployment(
worker_deployment_wq1.id, state=state
)
)
def create_run_with_deployment(state):
return orion_client.create_flow_run_from_deployment(worker_deployment_wq1.id, state=state)
await create_run_with_deployment(
Scheduled(scheduled_time=pendulum.now("utc").subtract(days=1))
)
Expand Down

0 comments on commit 9311580

Please sign in to comment.