testtools API Documentation

Module Index

  • testtools - Extensions to the standard Python unittest library.
    • testtools._compat2x - Compatibility helpers that are valid syntax in Python 2.x.
    • testtools._compat3x - Compatibility helpers that are valid syntax in Python 3.x.
    • testtools._spinner - Evil reactor-spinning logic for running Twisted tests.
    • testtools.assertions - No module docstring; 1/1 functions documented
    • testtools.compat - Compatibility support for python 2 and 3.
    • testtools.content - Content - a MIME-like Content object.
    • testtools.content_type - ContentType - a MIME Content Type.
    • testtools.deferredruntest - Individual test case execution for tests that return Deferreds.
    • testtools.distutilscmd - Extensions to the standard Python unittest library.
    • testtools.helpers - No module docstring; 4/4 functions documented
    • testtools.matchers - All the matchers.
      • testtools.matchers._basic - No module docstring; 13/17 classes, 1/2 functions documented
      • testtools.matchers._datastructures - No module docstring; 3/3 classes, 1/1 functions documented
      • testtools.matchers._dict - No module docstring; 7/7 classes, 1/3 functions documented
      • testtools.matchers._doctest - No module docstring; 3/3 classes documented
      • testtools.matchers._exception - No module docstring; 2/2 classes, 1/3 functions documented
      • testtools.matchers._filesystem - Matchers for things related to the filesystem.
      • testtools.matchers._higherorder - No module docstring; 10/12 classes documented
      • testtools.matchers._impl - Matchers, a way to express complex assertions outside the testcase.
    • testtools.monkey - Helpers for monkey-patching Python code.
    • testtools.run - python -m testtools.run testspec [testspec...]
    • testtools.runtest - Individual test case execution.
    • testtools.tags - Tag support.
    • testtools.testcase - Test case related stuff.
    • testtools.testresult - Test result objects.
      • testtools.testresult.doubles - Doubles of test result objects, useful for testing unittest code.
      • testtools.testresult.real - Test results and related things.
    • testtools.tests - Tests for testtools itself.
      • testtools.tests.helpers - Helpers for tests.
      • testtools.tests.matchers - No package docstring; 1/9 modules documented
        • testtools.tests.matchers.helpers - Undocumented
        • testtools.tests.matchers.test_basic - No module docstring; 1/15 classes, 0/1 functions documented
        • testtools.tests.matchers.test_datastructures - Undocumented
        • testtools.tests.matchers.test_dict - Undocumented
        • testtools.tests.matchers.test_doctest - Undocumented
        • testtools.tests.matchers.test_exception - Undocumented
        • testtools.tests.matchers.test_filesystem - Undocumented
        • testtools.tests.matchers.test_higherorder - Undocumented
        • testtools.tests.matchers.test_impl - Tests for matchers.
      • testtools.tests.test_assert_that - No module docstring; 1/3 classes, 0/1 functions documented
      • testtools.tests.test_compat - Tests for miscellaneous compatibility functions
      • testtools.tests.test_content - Undocumented
      • testtools.tests.test_content_type - Undocumented
      • testtools.tests.test_deferredruntest - Tests for the DeferredRunTest single test execution logic.
      • testtools.tests.test_distutilscmd - Tests for the distutils test command logic.
      • testtools.tests.test_fixturesupport - Undocumented
      • testtools.tests.test_helpers - Undocumented
      • testtools.tests.test_monkey - Tests for testtools.monkey.
      • testtools.tests.test_run - Tests for the test runner logic.
      • testtools.tests.test_runtest - Tests for the RunTest single test execution logic.
      • testtools.tests.test_spinner - Tests for the evil Twisted reactor-spinning we do.
      • testtools.tests.test_tags - Test tag support.
      • testtools.tests.test_testcase - Tests for extensions to the base test library.
      • testtools.tests.test_testresult - Test TestResults and related things.
      • testtools.tests.test_testsuite - Test ConcurrentTestSuite and related things.
      • testtools.tests.test_with_with - No module docstring; 1/1 classes, 0/1 functions documented
    • testtools.testsuite - Test suites and related things.
    • testtools.utils - Utilities for dealing with stuff in unittest.