Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 19, 2024
1 parent 11c39a2 commit cdbd026
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ def test_submit_command():
"""Test submit command"""
scheduler = HyperQueueScheduler()

assert "hq submit --output-mode=json job.sh" == scheduler._get_submit_command("job.sh")
assert "hq submit --output-mode=json job.sh" == scheduler._get_submit_command(
"job.sh"
)


def test_parse_submit_command_output(hq_env: HqEnv, valid_submit_script):
Expand All @@ -80,7 +82,7 @@ def test_parse_submit_command_output(hq_env: HqEnv, valid_submit_script):

scheduler = HyperQueueScheduler()
args = scheduler._get_submit_command("_aiidasubmit.sh")
args = args.split(' ')[1:]
args = args.split(" ")[1:]
process = hq_env.command(
args,
wait=False,
Expand Down

0 comments on commit cdbd026

Please sign in to comment.