Home
last modified time | relevance | path

Searched refs:testNamePatterns (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/unittest/
Dmain.py62 failfast = catchbreak = buffer = progName = warnings = testNamePatterns = None
150 if self.testNamePatterns:
151 self.testLoader.testNamePatterns = self.testNamePatterns
193 if self.testNamePatterns is None:
197 self.testNamePatterns = []
Dloader.py73 testNamePatterns = None variable in TestLoader
235 return self.testNamePatterns is None or \
236 any(fnmatchcase(fullName, pattern) for pattern in self.testNamePatterns)
497 def _makeLoader(prefix, sortUsing, suiteClass=None, testNamePatterns=None): argument
501 loader.testNamePatterns = testNamePatterns
506 def getTestCaseNames(testCaseClass, prefix, sortUsing=util.three_way_cmp, testNamePatterns=None): argument
507 …return _makeLoader(prefix, sortUsing, testNamePatterns=testNamePatterns).getTestCaseNames(testCase…
/third_party/python/Lib/unittest/test/
Dtest_loader.py1242 loader.testNamePatterns = []
1245 loader.testNamePatterns = ['*1']
1248 loader.testNamePatterns = ['*1', '*2']
1251 loader.testNamePatterns = ['*My*']
1254 loader.testNamePatterns = ['*my*']
1277 loader.testNamePatterns = []
Dtest_program.py428 self.assertEqual(program.testNamePatterns, ['*foo*', '*bar*', '*pat*'])
/third_party/python/Doc/library/
Dunittest.rst1920 .. attribute:: testNamePatterns