Skip to content

Commit

Permalink
f-m
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Oct 9, 2023
1 parent 3558c90 commit d400fbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_computational_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ def test_resource_setup_widget_default():

w._on_quick_setup()

assert "created" in w.message
assert "pw" in w.message
assert w.success
assert orm.load_code("pw-7.2@daint-mc")
Expand Down Expand Up @@ -701,7 +700,9 @@ def test_computer_resource_setup_widget_default(monkeypatch, tmp_path):
"""A test for bundle widget `ComputationalResourcesWidget`."""
# Test the enable toggle are passed to the sub widgets.
with pytest.raises(ValueError):
ComputationalResourcesWidget(detailed_setup=False, quick_setup=False)
ComputationalResourcesWidget(
enable_detailed_setup=False, enable_quick_setup=False
)

# monkeypatch home so the ssh key is generated in the temporary directory
monkeypatch.setenv("HOME", str(tmp_path))
Expand Down

0 comments on commit d400fbb

Please sign in to comment.