• Home
  • Raw
  • Download

Lines Matching refs:testname

903         testname = self.create_test(code=code)
906 all_methods = ['%s.Tests.test_method1' % testname,
907 '%s.Tests.test_method2' % testname]
908 output = self.run_tests('--list-cases', testname)
912 all_methods = ['%s.Tests.test_method1' % testname]
915 testname)
949 testname = self.create_test(code=code)
952 output = self.run_tests("-v", testname)
964 '%s.Tests.test_method3' % testname]
969 output = self.run_tests("-v", "--matchfile", filename, testname)
982 testname = self.create_test(code=code)
985 output = self.run_tests(testname)
986 self.check_executed_tests(output, [testname], env_changed=testname)
989 output = self.run_tests("--fail-env-changed", testname, exitcode=3)
990 self.check_executed_tests(output, [testname], env_changed=testname,
1002 testname = self.create_test(code=code)
1004 output = self.run_tests("-w", testname, exitcode=2)
1005 self.check_executed_tests(output, [testname],
1006 failed=testname, rerun=testname)
1016 testname = self.create_test(code=code)
1018 output = self.run_tests(testname, "-m", "nosuchtest", exitcode=0)
1019 self.check_executed_tests(output, [testname], no_test_ran=testname)
1029 testname = self.create_test(code=code)
1031 output = self.run_tests(testname, exitcode=0)
1032 self.check_executed_tests(output, [testname])
1042 testname = self.create_test(code=code)
1045 output = self.run_tests(testname, testname2, "-m", "nosuchtest", exitcode=0)
1046 self.check_executed_tests(output, [testname, testname2],
1047 no_test_ran=[testname, testname2])
1057 testname = self.create_test(code=code)
1067 output = self.run_tests(testname, testname2, "-m", "nosuchtest",
1069 self.check_executed_tests(output, [testname, testname2],
1070 no_test_ran=[testname])