unittest.mock.call.call_list()
  • References/Python/Python/Development Tools

call.call_list() For a call object that represents multiple calls, call_list() returns a list of all the intermediate

2025-01-10 15:47:30
unittest.TestCase.id()
  • References/Python/Python/Development Tools

id() Return a string identifying the specific test case. This is usually the full name of the test method, including the module

2025-01-10 15:47:30
unittest.TestCase
  • References/Python/Python/Development Tools

class unittest.TestCase(methodName='runTest') Instances of the TestCase class represent the logical test units

2025-01-10 15:47:30
unittest.TextTestRunner
  • References/Python/Python/Development Tools

class unittest.TextTestRunner(stream=None, descriptions=True, verbosity=1, failfast=False, buffer=False, resultclass=None, warnings=None, *, tb_locals=False)

2025-01-10 15:47:30
unittest.TestResult.expectedFailures
  • References/Python/Python/Development Tools

expectedFailures A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each

2025-01-10 15:47:30
doctest.testmod()
  • References/Python/Python/Development Tools

doctest.testmod(m=None, name=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_error=False, exclude_empty=False)

2025-01-10 15:47:30
typing.ValuesView
  • References/Python/Python/Development Tools

class typing.ValuesView(MappingView[VT_co]) A generic version of

2025-01-10 15:47:30
unittest.TestCase.assertMultiLineEqual()
  • References/Python/Python/Development Tools

assertMultiLineEqual(first, second, msg=None) Test that the multiline string first is equal to the string second

2025-01-10 15:47:30
unittest.TestCase.assertIn()
  • References/Python/Python/Development Tools

assertIn(first, second, msg=None) assertNotIn(first, second, msg=None) Test that first is (or is not) in

2025-01-10 15:47:30
doctest.DocTest.globs
  • References/Python/Python/Development Tools

globs The namespace (aka globals) that the examples should be run in. This is a dictionary mapping names to values. Any changes

2025-01-10 15:47:30