From mechanicalcat.net:
This post contains some tips for testing Twisted applications. Note that I'm not using trial, the official Twisted test runner, for a variety of reasons. You could use trial, but if you need to use another testing tool (nose, or behave) then you'll need to do a little more work.