Part of fixture
| Class | DataTestCase | A mixin to use with unittest.TestCase. |
| Class | ObjRegistry | registers objects by class. |
| Function | with_debug | A nose decorator calls start_debug/start_debug before and after the |
| Function | start_debug | A shortcut to start logging a channel to a stream. |
| Function | stop_debug | The reverse of start_debug(). |
| Class | _dummy_stream | Undocumented |
| Function | _mklog | returns a log object that does nothing until something adds a |
All positional arguments are considered channels that should be debugged. Keyword arguments are passed to start_debug()
A shortcut to start logging a channel to a stream.
For example:
>>> from fixture.util import start_debug, stop_debug
>>> start_debug("fixture.loadable")
starts logging messages from the fixture.loadable channel to the stream. Then...
>>> stop_debug("fixture.loadable")
...turns it off.