unittest.TestCase.setUp()
  • References/Python/Python/Development Tools

setUp() Method called to prepare the test fixture. This is called immediately before calling the test method; other than

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

class typing.Sequence(Sized, Iterable[T_co], Container[T_co]) A generic version of

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

assertTrue(expr, msg=None) assertFalse(expr, msg=None) Test that expr is true (or false).

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

test.support.is_resource_enabled(resource) Return True if resource is enabled and available. The list

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

loadTestsFromName(name, module=None) Return a suite of all tests cases given a string specifier. The

2025-01-10 15:47:30
unittest.mock.Mock.assert_has_calls()
  • References/Python/Python/Development Tools

assert_has_calls(calls, any_order=False) assert the mock has been called with the specified calls. The mock_calls

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
test.support.SuppressCrashReport
  • References/Python/Python/Development Tools

class test.support.SuppressCrashReport A context manager used to try to prevent crash dialog popups on tests that are expected

2025-01-10 15:47:30