Skip to content

Commit

Permalink
Fix pylama error
Browse files Browse the repository at this point in the history
  • Loading branch information
rstyd committed Apr 18, 2024
1 parent 86695ea commit 34a652a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions beeflow/tests/test_wf_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ def test_workflow_status(client, mocker, setup_teardown_workflow, temp_db):
gdb_pid = 12345
workdir = 'dir'

temp_db.workflows.init_workflow(WF_ID, wf_name, workdir, bolt_port, http_port, https_port, gdb_pid)
temp_db.workflows.init_workflow(WF_ID, wf_name, workdir, bolt_port, http_port, https_port,
gdb_pid)
temp_db.workflows.add_task(123, WF_ID, 'task', "WAITING")
temp_db.workflows.add_task(124, WF_ID, 'task', "RUNNING")

Expand All @@ -210,7 +211,8 @@ def test_cancel_workflow(client, mocker, setup_teardown_workflow, temp_db):
gdb_pid = 12345
workdir = 'dir'

temp_db.workflows.init_workflow(WF_ID, wf_name, workdir, bolt_port, http_port, https_port, gdb_pid)
temp_db.workflows.init_workflow(WF_ID, wf_name, workdir, bolt_port, http_port, https_port,
gdb_pid)
temp_db.workflows.add_task(123, WF_ID, 'task', "WAITING")
temp_db.workflows.add_task(124, WF_ID, 'task', "RUNNING")
mocker.patch('beeflow.wf_manager.resources.wf_actions.dep_manager.kill_gdb', return_value=None)
Expand All @@ -235,7 +237,8 @@ def test_remove_workflow(client, mocker, setup_teardown_workflow, temp_db):
gdb_pid = 12345
workdir = 'dir'

temp_db.workflows.init_workflow(WF_ID, wf_name, workdir, bolt_port, http_port, https_port, gdb_pid)
temp_db.workflows.init_workflow(WF_ID, wf_name, workdir, bolt_port, http_port, https_port,
gdb_pid)
temp_db.workflows.add_task(123, WF_ID, 'task', "WAITING")
temp_db.workflows.add_task(124, WF_ID, 'task', "RUNNING")
mocker.patch('beeflow.wf_manager.resources.wf_actions.dep_manager.kill_gdb', return_value=None)
Expand Down

0 comments on commit 34a652a

Please sign in to comment.