Package ldaptor :: Package test :: Module test_ldiftree :: Class Tree
[hide private]
[frames] | no frames]

Class Tree

source code

                            object --+    
                                     |    
                 RandomizeListdirMixin --+
                                         |
                    object --+           |
                             |           |
             unittest.TestCase --+       |
                                 |       |
                        object --+       |
                                 |       |
twisted.trial.unittest._Assertions --+   |
                                     |   |
       twisted.trial.unittest.TestCase --+
                                         |
                                        Tree

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test_children_empty(self) source code
 
test_children_oneChild(self) source code
 
_cb_test_children_oneChild(self, children) source code
 
test_children_repeat(self)
Test that .children() returns a copy of the data so that modifying it does not affect behaviour.
source code
 
_cb_test_children_repeat_1(self, children1) source code
 
_cb_test_children_repeat_2(self, children2) source code
 
test_children_twoChildren(self) source code
 
_cb_test_children_twoChildren(self, children) source code
 
test_children_twoChildren_callback(self) source code
 
_cb_test_children_twoChildren_callback(self, r, children) source code
 
test_children_noAccess_dir_noRead(self) source code
 
test_children_noAccess_dir_noExec(self) source code
 
test_children_noAccess_file(self) source code
 
test_addChild(self) source code
 
_cb_test_addChild(self, children) source code
 
test_addChild_Exists(self) source code
 
test_parent(self) source code
 
test_subtree_empty(self) source code
 
_cb_test_subtree_empty(self, entries) source code
 
test_subtree_oneChild(self) source code
 
_cb_test_subtree_oneChild(self, results) source code
 
test_subtree_oneChild_cb(self) source code
 
_cb_test_subtree_oneChild_cb(self, r, got) source code
 
test_subtree_many(self) source code
 
_cb_test_subtree_many(self, results) source code
 
test_subtree_many_cb(self) source code
 
_cb_test_subtree_many_cb(self, r, got) source code
 
test_lookup_fail(self) source code
 
test_lookup_fail_outOfTree(self) source code
 
test_lookup_fail_outOfTree_2(self) source code
 
test_lookup_fail_multipleError(self) source code
 
test_lookup_fail_emptyError(self) source code
 
test_lookup_deep(self) source code
 
_cb_test_lookup_deep(self, r) source code
 
test_delete_root(self) source code
 
test_delete_nonLeaf(self) source code
 
test_delete(self) source code
 
_cb_test_delete_1(self, r) source code
 
_cb_test_delete_2(self, r) source code
 
test_deleteChild(self) source code
 
_cb_test_deleteChild_1(self, r) source code
 
_cb_test_deleteChild_2(self, r) source code
 
test_deleteChild_NonExisting(self) source code
 
test_setPassword(self) source code
 
test_setPassword_noSalt(self) source code
 
test_diffTree_self(self) source code
 
test_diffTree_copy(self) source code
 
test_diffTree_addChild(self) source code
 
test_diffTree_delChild(self) source code
 
test_diffTree_edit(self) source code
 
test_move_noChildren_sameSuperior(self) source code
 
test_move_children_sameSuperior(self) source code
 
test_move_noChildren_newSuperior(self) source code
 
test_move_children_newSuperior(self) source code

Inherited from RandomizeListdirMixin: randomListdir, setUpClass, tearDownClass

Inherited from twisted.trial.unittest.TestCase: __call__, __init__, addCleanup, callDeprecated, deferRunCleanups, deferSetUp, deferSetUpClass, deferTearDown, deferTearDownClass, deferTestMethod, flushLoggedErrors, getSkip, getSuppress, getTimeout, getTodo, mktemp, patch, run, runTest, shortDescription, visit

Inherited from twisted.trial.unittest.TestCase (private): _captureDeprecationWarnings, _cbDeferRunCleanups, _cbDeferTestMethod, _classCleanUp, _cleanUp, _deprecateReactor, _ebDeferSetUp, _ebDeferSetUpClass, _ebDeferTearDown, _ebDeferTestMethod, _ebTearDownClass, _getReason, _installObserver, _isFirst, _isLast, _makeReactorMethod, _prepareClassFixture, _removeObserver, _run, _runCleanups, _undeprecateReactor, _wait

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.TestCase: __providedBy__, __repr__, __str__, countTestCases, debug, defaultTestResult, id, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from twisted.trial.unittest.TestCase (private): _initInstances

Class Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: __implemented__, __provides__

Instance Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: failureException, skip, suppress, timeout, 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.TestCase.setUp
(inherited documentation)