MCPcopy Index your code
hub / github.com/RustPython/RustPython / loadTestsFromNames

Method loadTestsFromNames

Lib/unittest/loader.py:202–207  ·  view source on GitHub ↗

Return a suite of all test cases found using the given sequence of string specifiers. See 'loadTestsFromName()'.

(self, names, module=None)

Source from the content-addressed store, hash-verified

200 raise TypeError("don't know how to make test from: %s" % obj)
201
202 def loadTestsFromNames(self, names, module=None):
203 """Return a suite of all test cases found using the given sequence
204 of string specifiers. See 'loadTestsFromName()'.
205 """
206 suites = [self.loadTestsFromName(name, module) for name in names]
207 return self.suiteClass(suites)
208
209 def getTestCaseNames(self, testCaseClass):
210 """Return a sorted sequence of method names found within testCaseClass

Callers 1

createTestsMethod · 0.45

Calls 1

loadTestsFromNameMethod · 0.95

Tested by

no test coverage detected