Home
last modified time | relevance | path

Searched refs:loadTestsFromModule (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/unittest/test/
Dtest_discovery.py75 orig_load_tests = loader.loadTestsFromModule
76 def loadTestsFromModule(module, pattern=None): function
80 loader.loadTestsFromModule = loadTestsFromModule
121 orig_load_tests = loader.loadTestsFromModule
122 def loadTestsFromModule(module, pattern=None): function
126 loader.loadTestsFromModule = loadTestsFromModule
176 orig_load_tests = loader.loadTestsFromModule
177 def loadTestsFromModule(module, pattern=None): function
181 loader.loadTestsFromModule = loadTestsFromModule
250 orig_load_tests = loader.loadTestsFromModule
[all …]
Dtest_loader.py120 suite = loader.loadTestsFromModule(m)
133 suite = loader.loadTestsFromModule(m)
147 suite = loader.loadTestsFromModule(m)
171 suite = loader.loadTestsFromModule(NotAModule)
195 suite = loader.loadTestsFromModule(m)
203 suite = loader.loadTestsFromModule(m, use_load_tests=False)
225 suite = loader.loadTestsFromModule(m, False)
253 suite = loader.loadTestsFromModule(m, use_load_tests=False)
281 loader.loadTestsFromModule(m, False, 'testme.*')
310 loader.loadTestsFromModule(
[all …]
D__init__.py16 suite.addTest(loader.loadTestsFromModule(module))
Dtest_program.py67 def loadTestsFromModule(self, module): member in Test_TestProgram.FooBarLoader
/third_party/python/Lib/unittest/
Dloader.py98 def loadTestsFromModule(self, module, *args, pattern=None, **kws): member in TestLoader
191 return self.loadTestsFromModule(obj)
460 return self.loadTestsFromModule(module, pattern=pattern), False
483 tests = self.loadTestsFromModule(package, pattern=pattern)
516 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(\
Dmain.py156 self.test = self.testLoader.loadTestsFromModule(self.module)
/third_party/python/Lib/unittest/test/testmock/
D__init__.py16 suite.addTest(loader.loadTestsFromModule(module))
/third_party/python/Lib/lib2to3/tests/
Dsupport.py31 tests = unittest.TestLoader().loadTestsFromModule(test_mod)
/third_party/python/Lib/test/libregrtest/
Druntest.py256 tests = loader.loadTestsFromModule(the_module)
/third_party/python/Doc/library/
Dtest.rst170 unittest.TestLoader.loadTestsFromModule if ``test_main`` does not exist. The
464 ``unittest.TestLoader.loadTestsFromModule()``. This is usually seen in the
Dunittest.rst1763 .. method:: loadTestsFromModule(module, pattern=None)
2281 :meth:`TestLoader.loadTestsFromModule` with the following arguments::
2285 where *pattern* is passed straight through from ``loadTestsFromModule``. It
/third_party/python/Doc/whatsnew/
D3.5.rst1986 The :meth:`TestLoader.loadTestsFromModule() <unittest.TestLoader.loadTestsFromModule>`
2346 :meth:`unittest.TestLoader.loadTestsFromModule` method now is
/third_party/python/Misc/NEWS.d/
D3.5.0a1.rst2346 __init__.py. TestLoader.loadTestsFromModule() still accepts use_load_tests,