Package logilab :: Package common :: Package test :: Module unittest_shellutils :: Class AcquireLockTC
[frames] | no frames]

Class AcquireLockTC

source code

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

Nested Classes

Inherited from testlib.TestCase: pdbclass

Inherited from unittest.TestCase: failureException

Instance Methods
 
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_acquire_normal(self) source code
 
test_locked_for_one_hour(self) source code
 
test_no_possible_acquire(self) source code
 
test_wrong_process(self) source code
 
test_wrong_process_and_continue(self) 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

Inherited from testlib.TestCase: capture

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)