Merge lp:~free.ekanayaka/testresources/use-test-case-result into lp:~testresources-developers/testresources/trunk
Proposed by
Free Ekanayaka
Status: | Needs review |
---|---|
Proposed branch: | lp:~free.ekanayaka/testresources/use-test-case-result |
Merge into: | lp:~testresources-developers/testresources/trunk |
Diff against target: |
50 lines (+15/-8) 1 file modified
lib/testresources/__init__.py (+15/-8) |
To merge this branch: | bzr merge lp:~free.ekanayaka/testresources/use-test-case-result |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
testresources developers | Pending | ||
Review via email: mp+119153@code.launchpad.net |
Description of the change
It seems that the test result is available as private attribute on the test case object, since Python 2.7 (see unittest.
This runs faster and saves a bit of time especially when running a single test.
To post a comment you must log in.
Unmerged revisions
- 61. By Free Ekanayaka
-
Use _resultForDoCle
anups if available
I'm not sure this is supported - its a _ attribute, and the TestCase
API uses public attributes for things that subclasses are meant to
call. Lets get Michael Foords opinion on it before doing it.