Пример #1
0
 def test_main_just_run_it_so_there_is_no_syntax_error_with_argv(self):
     sys.argv = self.cmd_line
     main()
     self._test_main_just_run_it_so_there_is_no_syntax_error()
Пример #2
0
 def test_main_help_just_a_check_it_works(self):
     sys.argv = ['rehab']
     main()
Пример #3
0
 def test_main_just_run_it_so_there_is_no_syntax_error(self):
     main(self.cmd_line)
     self._test_main_just_run_it_so_there_is_no_syntax_error()