testing-cabal / testtools

Testtools - tasteful testing for python
https://testtools.readthedocs.io/en/latest/
Other
95 stars 88 forks source link

Support TestResults that don't do stop/shouldStop #200

Closed jml closed 8 years ago

jml commented 8 years ago

Works around https://twistedmatrix.com/trac/ticket/8183#ticket by implementing stop/shouldStop logic in the extended test result decorator.

Adds a new test double for Twisted test support and ensures that it supports stop & shouldStop.

Moves tests for stop & shouldStop to separate "contract" class.

I had a quick attempt at writing a NEWS entry and couldn't come up with anything interesting.

Review on Reviewable

jml commented 8 years ago

Review timeout. Merged at ce009d3e86eaf03bf7a7f2a25bfd53392100480e