~testing-cabal/testtools/trunk

« back to all changes in this revision

Viewing changes to testtools/__init__.py

  • Committer: GitHub
  • Author(s): Free Ekanayaka
  • Date: 2017-04-11 13:13:10 UTC
  • Revision ID: git-v1:01d4a9b59ecb93701838b8df5ee8fbbd3d22b0f4
Add ResourcedToStreamDecorator test result decorator for testresources integration (#243)

This new decorator implements the TestResult protocol extension supported by test resources. For example, tt makes it possible to easily have resource-related events streamed to subunit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    'MultiTestResult',
19
19
    'PlaceHolder',
20
20
    'run_test_with',
 
21
    'ResourcedToStreamDecorator',
21
22
    'Tagger',
22
23
    'TestCase',
23
24
    'TestCommand',
85
86
        ExtendedToOriginalDecorator,
86
87
        ExtendedToStreamDecorator,
87
88
        MultiTestResult,
 
89
        ResourcedToStreamDecorator,
88
90
        StreamFailFast,
89
91
        StreamResult,
90
92
        StreamResultRouter,