Package flumotion :: Package extern :: Package log :: Module test_log :: Class TestLog
[hide private]

Class TestLog

source code

                        object --+                
                                 |                
            unittest.case.TestCase --+            
                                     |            
                            object --+            
                                     |            
    twisted.trial.unittest._Assertions --+        
                                         |        
twisted.trial.unittest.SynchronousTestCase --+    
                                             |    
               twisted.trial.unittest.TestCase --+
                                                 |
                                                TestLog

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
testSetDebug(self) source code
 
testGetLevelName(self) source code
 
testGetLevelInt(self) source code
 
testGetFormattedLevelName(self) source code
 
testGetFileLine(self) source code
 
testEllipsize(self) source code
 
handler(self, level, object, category, file, line, message) source code
 
testLimitInvisible(self) source code
 
testLimitedVisible(self) source code
 
testFormatStrings(self) source code
 
testLimitedError(self) source code
 
testLogHandlerLimitedLevels(self) source code
 
testLogHandler(self) source code
 
testAddLogHandlerRaises(self) source code
 
testAdaptStandardLogging(self) source code

Inherited from twisted.trial.unittest.TestCase: __call__, __init__, __provides__, addCleanup, deferRunCleanups, deferSetUp, deferTearDown, deferTestMethod, getSuppress, getTimeout, visit

Inherited from twisted.trial.unittest.TestCase (private): _cbDeferRunCleanups, _cbDeferTestMethod, _classCleanUp, _cleanUp, _deprecateReactor, _ebDeferSetUp, _ebDeferTearDown, _ebDeferTestMethod, _makeReactorMethod, _run, _runCleanups, _runFixturesAndTest, _undeprecateReactor, _wait

Inherited from twisted.trial.unittest.SynchronousTestCase: __eq__, __ne__, callDeprecated, flushLoggedErrors, flushWarnings, getSkip, getTodo, mktemp, patch, run, runTest, shortDescription

Inherited from twisted.trial.unittest.SynchronousTestCase (private): _getSkipReason, _getSuppress, _installObserver, _removeObserver

Inherited from twisted.trial.unittest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFailure, assertFalse, assertIdentical, assertIn, assertIsInstance, assertNot, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIdentical, assertNotIn, assertNotIsInstance, assertNotSubstring, assertRaises, assertSubstring, assertTrue, assertWarns, assert_, fail, failIf, failIfAlmostEqual, failIfAlmostEquals, failIfEqual, failIfEquals, failIfIdentical, failIfIn, failIfIsInstance, failIfSubstring, failUnless, failUnlessAlmostEqual, failUnlessAlmostEquals, failUnlessApproximates, failUnlessEqual, failUnlessEquals, failUnlessFailure, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessIsInstance, failUnlessRaises, failUnlessSubstring, failUnlessTrue, failUnlessWarns

Inherited from unittest.case.TestCase: __hash__, __providedBy__, __repr__, __str__, addTypeEqualityFunc, assertDictContainsSubset, assertDictEqual, assertGreater, assertGreaterEqual, assertIs, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotRegexpMatches, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTupleEqual, countTestCases, debug, defaultTestResult, doCleanups, id, skipTest, tearDown

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: __implemented__

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Instance Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: timeout

Inherited from twisted.trial.unittest.SynchronousTestCase: failureException, skip, suppress, todo

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.case.TestCase.setUp
(inherited documentation)