Searched refs:loadTestsFromModule (Results 1 - 10 of 10) sorted by relevance
/third_party/python/Lib/unittest/test/ |
H A D | test_discovery.py | 75 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 D | test_loader.py | 108 ### 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__.py | 19 suite.addTest(loader.loadTestsFromModule(module))
|
H A D | test_program.py | 78 def loadTestsFromModule(self, module): member in Test_TestProgram.FooBarLoader
|
/third_party/python/Lib/unittest/ |
H A D | loader.py | 98 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 D | main.py | 159 self.test = self.testLoader.loadTestsFromModule(self.module)
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | __init__.py | 16 suite.addTest(loader.loadTestsFromModule(module))
|
/third_party/python/Lib/lib2to3/tests/ |
H A D | support.py | 31 tests = unittest.TestLoader().loadTestsFromModule(test_mod)
|
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest.py | 271 tests = loader.loadTestsFromModule(the_module)
|
/third_party/python/Lib/test/support/ |
H A D | __init__.py | 1213 suite.addTest(loader.loadTestsFromModule(sys.modules[cls]))
|
Completed in 8 milliseconds