Skip to content

Commit 9d6ee4d

Browse files
authored
Update test_standalone_inputcheck.py
1 parent fa012d6 commit 9d6ee4d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/test_standalone_inputcheck.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import unittest
22

33
from executorlib.standalone.inputcheck import (
4+
check_cancel_futures_on_shutdown,
45
check_command_line_argument_lst,
56
check_gpus_per_worker,
67
check_oversubscribe,
@@ -24,6 +25,10 @@
2425

2526

2627
class TestInputCheck(unittest.TestCase):
28+
def test_check_cancel_futures_on_shutdown(self):
29+
with self.assertRaises(ValueError):
30+
check_cancel_futures_on_shutdown(cancel_futures_on_shutdown=True)
31+
2732
def test_check_command_line_argument_lst(self):
2833
with self.assertRaises(ValueError):
2934
check_command_line_argument_lst(command_line_argument_lst=["a"])

0 commit comments

Comments
 (0)