Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
al-rigazzi committed Dec 10, 2024
1 parent 74f93f3 commit 22741a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_launch_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from smartsim import Experiment
from smartsim.database import Orchestrator
from smartsim.error import SSUnsupportedError
from smartsim.settings import PalsMpiexecSettings, RunSettings
from smartsim.settings import DragonRunSettings, RunSettings
from smartsim.status import SmartSimStatus

# The tests in this file belong to the group_a group
Expand All @@ -40,7 +40,7 @@
def test_unsupported_run_settings(test_dir):
exp_name = "test-unsupported-run-settings"
exp = Experiment(exp_name, launcher="slurm", exp_path=test_dir)
bad_settings = PalsMpiexecSettings("echo", "hello")
bad_settings = DragonRunSettings("echo", "hello")
model = exp.create_model("bad_rs", bad_settings)

with pytest.raises(SSUnsupportedError):
Expand Down

0 comments on commit 22741a4

Please sign in to comment.