Convenience method for attaching files as details
Bug #694126 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Wishlist
|
Jonathan Lange |
Bug Description
A very common use case for details is to attach a file to a test run. It would be nice if there were a mindless way of doing this with a syntax like::
self.
Or something similar.
Related branches
lp://staging/~jml/testtools/more-content-convenience
- testtools developers: Pending requested
-
Diff: 545 lines (+293/-43)9 files modifiedNEWS (+4/-0)
doc/for-test-authors.rst (+6/-6)
testtools/compat.py (+13/-9)
testtools/content.py (+115/-1)
testtools/deferredruntest.py (+1/-3)
testtools/tests/test_content.py (+146/-17)
testtools/tests/test_run.py (+5/-4)
testtools/tests/test_testresult.py (+1/-3)
testtools/tests/test_testtools.py (+2/-0)
Changed in testtools: | |
status: | Triaged → In Progress |
assignee: | nobody → Jonathan Lange (jml) |
Changed in testtools: | |
status: | In Progress → Fix Committed |
milestone: | none → next |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.