Post-processing of Twisted logs requires overriding TestCase.run
Bug #1515362 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Undecided
|
Jonathan Lange |
Bug Description
Currently, if you want to do post-processing of attached Twisted logs (using AsynchronousDef
We don't want to encourage overriding TestCase.run, so instead we should:
* Publish a fixture for capturing Twisted logs
* Use this fixture in ADRT
* Provide a means of disabling the automatic capturing of logs in ADRT (probably a new optional parameter)
Then users who want to do post-processing could do:
self.
self.
Changed in testtools: | |
milestone: | none → next |
status: | In Progress → Fix Committed |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/testing- cabal/testtools /pull/171 /github. com/testing- cabal/testtools /pull/172
https:/