Wed Oct 25 12:46:42 2006
Ticket #99 (Closed: fixed)
integrated twisted with nose
| Priority: | normal | Reporter: | guest |
|---|---|---|---|
| Severity: | enhancement | Assigned to: | jpellerin |
| Component: | nose | Status: | closed |
| Version: | Resolution: | fixed | |
| Milestone: | 0.9.2 | Keywords: | twisted patch |
Description by guest:
Here is the Twisted integration source code.
twistedtools.py is the implementation itself (I first tried to call it "twisted", but then it shadows the original twisted package). It allows to decorate tests that return a Deferred.
test_twisted.py is the test suite for the implementation. There probably should be a way to skip it if Twisted is not installed (instead of raising ImportError? all around), but I don't know the right way to do that.
Attachments
Changelog
Wed Oct 25 12:48:26 2006: Modified by Antoine Pitrou
- attachment added: twistedtools.py
Wed Oct 25 12:49:29 2006: Modified by Antoine Pitrou
- attachment added: test_twisted.py
Thu Nov 2 05:24:36 2006: Modified by guest
Thu Nov 2 05:25:41 2006: Modified by Antoine Pitrou
- attachment added: twistedtools.2.py
Tue Nov 7 09:31:12 2006: Modified by jpellerin
- milestone set to 0.9.2
- keywords set to twisted patch
- status changed from new to assigned
Sun Nov 12 20:37:53 2006: Modified by jpellerin
- resolution set to fixed
- status changed from assigned to closed
nose.twistedtools added in [111]. Thank you!

I'm attaching a new version with the following changes:
Antoine.