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