Skip to content

Commit

Permalink
f-m
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Oct 12, 2023
1 parent 88a1eea commit ebe62ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_computational_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +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 +699,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 ebe62ac

Please sign in to comment.