def _find_test_names(self, args): tester = Tester() tester._options, args = tester._parse_args(args) return tester._test_names(_Loader(), args)
def test_individual_names_are_not_run_twice(self): tester = Tester() tester._options, args = tester._parse_args(["webkitpy.test.main_unittest.TesterTest.test_no_tests_found"]) parallel_tests, serial_tests = tester._test_names(_Loader(), args) self.assertEquals(parallel_tests, args) self.assertEquals(serial_tests, [])