Exemple #1
0
 def test_help_function(self):
     sys.argv = ['run', 'function_normal', '-h']
     run() 
Exemple #2
0
 def test_help_method(self):
     sys.argv = ['run', 'method', '-cClassToRun', '-h']
     run()             
Exemple #3
0
 def test_list_methods(self):
     sys.argv = ['run', '-cClassToRun']
     run()            
Exemple #4
0
 def test_list(self):
     sys.argv = ['run']
     run()
Exemple #5
0
 def test_run_method(self):
     sys.argv = ['run', 'method', '-cClassToRun']
     run()             
Exemple #6
0
 def test_run(self):
     sys.argv = ['run', 'function_normal', '1', 'b=test words']
     run()