AnnotatedMismatch hides get_details
Bug #724691 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
High
|
Jonathan Lange |
Bug Description
I wanted to annotate a HasQueryCount match, but it hid the mismatch get_details output: AnnotatedMismatch needs to implement get_details and forward it appropriately. Posssibly we want a MismatchDecorator and AnnotatedMismatch to extend that.
Related branches
lp://staging/~jml/testtools/mismatch-724691
- testtools developers: Pending requested
-
Diff: 116 lines (+58/-2)2 files modifiedtesttools/matchers.py (+28/-2)
testtools/tests/test_matchers.py (+30/-0)
Changed in testtools: | |
status: | Triaged → In Progress |
assignee: | nobody → Jonathan Lange (jml) |
milestone: | none → next |
Changed in testtools: | |
status: | In Progress → Fix Committed |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.