Package ldaptor :: Package test :: Module test_server :: Class LDAPServerTest
[hide private]
[frames] | no frames]

Class LDAPServerTest

source code

                    object --+            
                             |            
        unittest.case.TestCase --+        
                                 |        
                        object --+        
                                 |        
twisted.trial.unittest._Assertions --+    
                                     |    
       twisted.trial.unittest.TestCase --+
                                         |
                                        LDAPServerTest

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test_bind(self) source code
 
test_bind_success(self) source code
 
test_bind_invalidCredentials_badPassword(self) source code
 
test_bind_invalidCredentials_nonExisting(self) source code
 
test_bind_badVersion_1_anonymous(self) source code
 
test_bind_badVersion_2_anonymous(self) source code
 
test_bind_badVersion_4_anonymous(self) source code
 
test_bind_badVersion_4_nonExisting(self) source code
 
test_unbind(self) source code
 
test_search_outOfTree(self) source code
 
test_search_matchAll_oneResult(self) source code
 
test_search_matchAll_manyResults(self) source code
 
test_search_scope_oneLevel(self) source code
 
test_search_scope_wholeSubtree(self) source code
 
test_search_scope_baseObject(self) source code
 
test_rootDSE(self) source code
 
test_delete(self) source code
 
test_add_success(self) source code
 
test_add_fail_existsAlready(self) source code
 
test_modifyDN_rdnOnly_deleteOldRDN_success(self) source code
 
test_modifyDN_rdnOnly_noDeleteOldRDN_success(self) source code
 
test_modify(self) source code
 
test_extendedRequest_unknown(self) source code
 
test_passwordModify_notBound(self) source code
 
test_passwordModify_simple(self) source code
 
test_unknownRequest(self) source code
 
test_control_unknown_critical(self) source code
 
test_control_unknown_nonCritical(self) source code

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

Inherited from twisted.trial.unittest.TestCase (private): _cbDeferRunCleanups, _cbDeferTestMethod, _classCleanUp, _cleanUp, _deprecateReactor, _ebDeferSetUp, _ebDeferTearDown, _ebDeferTestMethod, _getReason, _installObserver, _makeReactorMethod, _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.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

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.case.TestCase.setUp
(inherited documentation)