Public Member Functions
tornado.testing.LogTrapTestCase Class Reference
Inheritance diagram for tornado.testing.LogTrapTestCase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def run

Detailed Description

A test case that captures and discards all logging output
if the test passes.

Some libraries can produce a lot of logging output even when
the test succeeds, so this class can be useful to minimize the noise.
Simply use it as a base class for your test case.  It is safe to combine
with AsyncTestCase via multiple inheritance
("class MyTestCase(AsyncHTTPTestCase, LogTrapTestCase):")

This class assumes that only one log handler is configured and that
it is a StreamHandler.  This is true for both logging.basicConfig
and the "pretty logging" configured by tornado.options.

Definition at line 283 of file testing.py.


Member Function Documentation

def tornado.testing.LogTrapTestCase.run (   self,
  result = None 
)

Definition at line 297 of file testing.py.


The documentation for this class was generated from the following file:


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:15