Example #1
0
 def test_main_ei(self):
     with unittest.mock.patch('sys.argv', [None, '-ei', TEST_DLL]):
         main(create_cmd_parser())
Example #2
0
 def test_main_no_arg(self):
     with unittest.mock.patch('sys.argv', [None]):
         main(create_cmd_parser())
Example #3
0
 def test_main_ih(self):
     with unittest.mock.patch('sys.argv', [None, '-ih', TEST_EXE]):
         main(create_cmd_parser())