Home
last modified time | relevance | path

Searched refs:loadTestsFromModule (Results 1 – 15 of 15) 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__.py19 suite.addTest(loader.loadTestsFromModule(module))
Dtest_program.py78 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)
431 return self.loadTestsFromModule(module, pattern=pattern), False
453 tests = self.loadTestsFromModule(package, pattern=pattern)
507 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(\
Dmain.py159 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.py271 tests = loader.loadTestsFromModule(the_module)
/third_party/python/Lib/test/support/
D__init__.py1213 suite.addTest(loader.loadTestsFromModule(sys.modules[cls]))
/third_party/python/Doc/library/
Dtest.rst170 unittest.TestLoader.loadTestsFromModule if ``test_main`` does not exist. The
465 ``unittest.TestLoader.loadTestsFromModule()``. This is usually seen in the
Dunittest.rst1822 .. method:: loadTestsFromModule(module, pattern=None)
2344 :meth:`TestLoader.loadTestsFromModule` with the following arguments::
2348 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
D3.11.rst1855 * :meth:`unittest.TestLoader.loadTestsFromModule`
/third_party/python/Misc/
DNEWS6915 …* Ignored :meth:`<unittest.TestLoader.loadTestsFromModule> TestLoader.loadTestsFromModule` paramet…
7576 * :meth:`unittest.TestLoader.loadTestsFromModule`
35846 package's __init__.py. TestLoader.loadTestsFromModule() still accepts