unittest.mock.Mock.assert_called_with()
  • References/Python/Python/Development Tools

assert_called_with(*args, **kwargs) This method is a convenient way of asserting that calls are made in a particular way:

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

stopTest(test) Called after the test case test has been executed, regardless of the outcome.

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

assertTupleEqual(first, second, msg=None) Tests that two lists or tuples are equal. If not, an error message is constructed

2025-01-10 15:47:30
test.support.captured_stdout()
  • References/Python/Python/Development Tools

test.support.captured_stdout() test.support.captured_stderr() A context managers that temporarily replaces the named

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

UnexpectedException.test The DocTest object that was being run when the example failed.

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
unittest.TestCase.skipTest()
  • References/Python/Python/Development Tools

skipTest(reason) Calling this during a test method or setUp() skips the current test. See Skipping tests

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
typing.Tuple
  • References/Python/Python/Development Tools

class typing.Tuple Tuple type; Tuple[X, Y] is the type of a tuple of two items with the first item of type X and

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