Beispiel #1
0
 def _sprint_main_test(self, *argvs):
     length = len(argvs)
     for index in range(length):
         sys.argv.append(argvs[index])
     sprint_main()
     if argvs[0] == 'new': sprintDirStub.check_called('initialize')
     else: sprintDirStub.check_called(argvs[0])
     if length > 1:
         sprintDirStub.check_objs_created(argvs[1])
Beispiel #2
0
 def _print_help_check(self):
     sprint_main()
     sprintDirStub.check_objs_created()
     sprintDirStub.check_called()
     sysOutputStub.check_sys_output(helpString+'\n')