Skip to content

Commit 3c441d5

Browse files
author
Vasileios Karakasis
committed
Fix PBS unit tests
1 parent cc71854 commit 3c441d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/test_schedulers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def test_submit_max_pending_time(make_job, exec_ctx, scheduler):
467467
def state(self):
468468
if scheduler.registered_name in ('slurm', 'squeue'):
469469
return 'PENDING'
470-
elif scheduler.registered_name == 'torque':
470+
elif scheduler.registered_name in ('pbs', 'torque'):
471471
return 'QUEUED'
472472
else:
473473
# This should not happen

0 commit comments

Comments
 (0)