def test_create_deck_not_found(self):
global_options = {
'no-yamloo': True,
'subargs': [],
'annotations': {},
'collector': None,
'bouncer': None,
'no-collector': False,
'test_file': 'invalid/path',
'testdeck': None
}
exc = None
try:
createDeck(global_options)
except exceptions.SystemExit as exc:
exc = exc
self.assertIsNotNone(exc)
self.assertEqual(exc.code, 3)
评论列表
文章目录