class documentation
The guy that cleans up after you.
Method | __init__ |
No summary |
Method | post |
Called by unittest.TestCase after a test to catch any logged errors or pending DelayedCall s. |
Method | post |
Called by unittest.TestCase after the last test in a TestCase subclass. Ensures the reactor is clean by murdering the threadpool, catching any pending DelayedCall s, open sockets etc. |
Instance Variable | reactor |
The reactor to use. If None, the global reactor will be used. |
Instance Variable | result |
The IReporter to report errors to. |
Instance Variable | test |
The TestCase to report errors about. |
Method | _clean |
Cancel all pending calls and return their string representations. |
Method | _clean |
Remove all selectables from the reactor, kill any of them that were processes, and return their string representation. |
Method | _clean |
Undocumented |
Method | _get |
Get either the passed-in reactor or the global reactor. |
Called by unittest.TestCase
after the last test in a TestCase subclass. Ensures the reactor is clean by murdering the threadpool, catching any pending DelayedCall
s, open sockets etc.