Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Jun 10, 2022
1 parent 9b454dd commit 5c4c773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/processes/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def raise_deploy(*_, **__):
assert mocked.call_count == 1
with mock.patch("weaver.processes.utils.deploy_process_from_payload", side_effect=raise_deploy) as mocked:
result = None
with pytest.raises(PackageRegistrationError) as exc:
with pytest.raises(PackageRegistrationError):
settings["weaver.cwl_processes_register_error"] = "true"
result = register_cwl_processes_from_config(settings)
assert mocked.call_count == 1
Expand Down

0 comments on commit 5c4c773

Please sign in to comment.