Merge "Cleanly catch keyboard interrupts during tests"
This commit is contained in:
commit
51f5c15898
@ -102,4 +102,4 @@ class TestMultipleRuns(unittest.TestCase):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
unittest.main(catchbreak=True)
|
||||
|
@ -1400,4 +1400,4 @@ class TestInventoryGroupConstraints(unittest.TestCase):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
unittest.main(catchbreak=True)
|
||||
|
@ -127,4 +127,4 @@ class TestRemoveIpfunction(unittest.TestCase):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
unittest.main(catchbreak=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user