SynchronousDeferredRunTest does not use run_with_log_observers

Bug #1369135 reported by Tristan Seligmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Triaged
Wishlist
Unassigned

Bug Description

I actually don't want to return a Deferred from my test at all, but I do want to use flush_logged_errors in my test.

Revision history for this message
Robert Collins (lifeless) wrote :

Would love a patch, do you need some pointers?

Changed in testtools:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Jonathan Lange (jml) wrote :

https://github.com/testing-cabal/testtools/pull/171 will make this much easier, as it separates the logic out to a fixture.

After that lands, we can make a version of the fixture public, and then you'll have a much better way of flushing logged errors from SynchronousTestCase.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.