Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Oct 31, 2023
1 parent cf7f522 commit 29ae910
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_command_local(self):
result_dict["zmqport"],
]
interface = MpiExecInterface(
cwd=None, cores=2, gpus_per_core=0, oversubscribe=True
cwd=None, cores=2, oversubscribe=True
)
self.assertEqual(
command_lst,
Expand All @@ -32,13 +32,6 @@ def test_command_local(self):
)
self.assertEqual(result_dict, parse_arguments(command_lst))

def test_mpiexec_gpu(self):
interface = MpiExecInterface(
cwd=os.path.abspath("."), cores=2, gpus_per_core=1, oversubscribe=True
)
with self.assertRaises(ValueError):
interface.bootup(command_lst=[])

def test_command_slurm(self):
result_dict = {
"host": "127.0.0.1",
Expand All @@ -59,7 +52,7 @@ def test_command_slurm(self):
"--zmqport",
result_dict["zmqport"],
]
interface = SlurmSubprocessInterface(
interface = SrunInterface(
cwd=os.path.abspath("."), cores=2, gpus_per_core=1, oversubscribe=True
)
self.assertEqual(
Expand Down

0 comments on commit 29ae910

Please sign in to comment.