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