Package logilab :: Package common :: Package test :: Module unittest_testlib :: Class TestlibTC
[frames] | no frames]

Class TestlibTC

source code

       object --+        
                |        
unittest.TestCase --+    
                    |    
     testlib.TestCase --+
                        |
                       TestlibTC

Nested Classes

Inherited from testlib.TestCase: pdbclass

Inherited from unittest.TestCase: failureException

Instance Methods
 
mkdir(self, path) source code
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
test_assert_raises(self) source code
 
test_cached_datadir(self)
test datadir is cached on the class
source code
 
test_custom_datadir(self) source code
 
test_default_datadir(self) source code
 
test_dict_equals(self)
tests TestCase.assertDictEquals
source code
 
test_dir_equality(self) source code
 
test_file_equality(self) source code
 
test_in(self) source code
 
test_is(self) source code
 
test_isnot(self) source code
 
test_lines_equals(self)
tests assertLineEquals
source code
 
test_list_equals(self)
tests TestCase.assertListEquals
source code
 
test_none(self) source code
 
test_not_in(self) source code
 
test_stream_equality(self) source code
 
test_text_equality(self) source code
 
test_unordered_equality_for_dicts(self) source code
 
test_unordered_equality_for_iterables(self) source code
 
test_unordered_equality_for_lists(self) source code
 
test_xml_valid(self)
tests xml is valid
source code

Inherited from testlib.TestCase: __call__, __init__, assertDictEqual, assertDictEquals, assertDirEqual, assertDirEquals, assertFileEqual, assertFileEquals, assertFloatAlmostEquals, assertIn, assertIs, assertIsInstance, assertIsNot, assertLineEqual, assertLinesEquals, assertListEqual, assertListEquals, assertNone, assertNotIn, assertNotNone, assertRaises, assertSetEqual, assertSetEquals, assertStreamEqual, assertStreamEquals, assertTextEqual, assertTextEquals, assertUnordIterEqual, assertUnordIterEquals, assertUnorderedIterableEqual, assertUnorderedIterableEquals, assertXMLEqualsTuple, assertXMLStringWellFormed, assertXMLWellFormed, captured_output, datadir, defaultTestResult, failUnlessRaises, optval, printonly, quiet_run, set_description, shortDescription, skip, start_capture, stop_capture

Inherited from unittest.TestCase: __eq__, __hash__, __ne__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertTrue, assert_, countTestCases, debug, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, id, run

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

Class Methods

Inherited from testlib.TestCase: datapath

Class Variables
  capture = True
Properties

Inherited from object: __class__

Method Details

setUp(self)

source code 

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

Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 

Hook method for deconstructing the test fixture after testing it.

Overrides: unittest.TestCase.tearDown
(inherited documentation)