Skip to content

Commit

Permalink
Test: Fix test_command
Browse files Browse the repository at this point in the history
Update test for `sge` profile command
  • Loading branch information
dileep-kishore committed Jan 25, 2021
1 parent 49c88c2 commit 96a89dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/pipelines/test_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@ def test_profile(self):
cmd = "ls"
profile = "sge"
timeout = 1000
command = Command(cmd, profile, timeout)
with pytest.raises(ValueError):
command = Command(cmd, profile, timeout)
project = "project"
command = Command(cmd, profile, timeout, project=project)
assert command.cmd.startswith("qsub ")

0 comments on commit 96a89dd

Please sign in to comment.