Home
last modified time | relevance | path

Searched refs:loadTestsFromModule (Results 1 - 10 of 10) sorted by relevance

/third_party/python/Lib/unittest/test/
H A 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(modul function
251 def loadTestsFromModule(module, pattern=None): global() function
[all...]
H A Dtest_loader.py108 ### Tests for TestLoader.loadTestsFromModule
120 suite = loader.loadTestsFromModule(m)
133 suite = loader.loadTestsFromModule(m)
147 suite = loader.loadTestsFromModule(m)
154 # What happens if loadTestsFromModule() is given something other
158 # should either be documented or loadTestsFromModule() should
171 suite = loader.loadTestsFromModule(NotAModule)
177 # Check that loadTestsFromModule honors (or not) a module
195 suite = loader.loadTestsFromModule(m)
203 suite = loader.loadTestsFromModule(
[all...]
H A D__init__.py19 suite.addTest(loader.loadTestsFromModule(module))
H A Dtest_program.py78 def loadTestsFromModule(self, module): member in Test_TestProgram.FooBarLoader
/third_party/python/Lib/unittest/
H A Dloader.py98 def loadTestsFromModule(self, module, *args, pattern=None, **kws): member in TestLoader
112 raise TypeError('loadTestsFromModule() takes 1 positional argument but {} were given'.format(complaint))
119 raise TypeError("loadTestsFromModule() got an unexpected keyword argument '{}'".format(complaint))
191 return self.loadTestsFromModule(obj)
365 # loadTestsFromModule with name.
431 return self.loadTestsFromModule(module, pattern=pattern), False
453 tests = self.loadTestsFromModule(package, pattern=pattern)
455 # loadTestsFromModule(package) has loaded tests for us.
504 "Please use unittest.TestLoader.loadTestsFromModule() instead.",
507 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(\
[all...]
H A Dmain.py159 self.test = self.testLoader.loadTestsFromModule(self.module)
/third_party/python/Lib/unittest/test/testmock/
H A D__init__.py16 suite.addTest(loader.loadTestsFromModule(module))
/third_party/python/Lib/lib2to3/tests/
H A Dsupport.py31 tests = unittest.TestLoader().loadTestsFromModule(test_mod)
/third_party/python/Lib/test/libregrtest/
H A Druntest.py271 tests = loader.loadTestsFromModule(the_module)
/third_party/python/Lib/test/support/
H A D__init__.py1213 suite.addTest(loader.loadTestsFromModule(sys.modules[cls]))

Completed in 8 milliseconds