Merge "Cleanly catch keyboard interrupts during tests"

This commit is contained in:
Jenkins 2017-07-17 18:40:55 +00:00 committed by Gerrit Code Review
commit 51f5c15898
3 changed files with 3 additions and 3 deletions

View File

@ -102,4 +102,4 @@ class TestMultipleRuns(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
unittest.main(catchbreak=True)

View File

@ -1400,4 +1400,4 @@ class TestInventoryGroupConstraints(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
unittest.main(catchbreak=True)

View File

@ -127,4 +127,4 @@ class TestRemoveIpfunction(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
unittest.main(catchbreak=True)