unittest.expectedFailure not treated as unexpectedsuccess
Bug #1417803 reported by
Leah Klearman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Incomplete
|
High
|
Unassigned |
Bug Description
when running "testr run --subunit -- <tests> | <my parser>"
in show_outcome() implemented by my parser, the test['status'] is failed, not uxsuccess
The test class inherits from testtools.TestCase, and the test method was marked with @unittest.
summary: |
- test status being changed from uxsuccess to failed + unittest.expectedFailure not treated as unexpectedsuccess |
affects: | testrepository → testtools |
Changed in testtools: | |
status: | New → Triaged |
importance: | Undecided → High |
To post a comment you must log in.
turns out that it works as desired when using @unittest2. expectedFailure