Package ldaptor :: Package test :: Module test_svcbindproxy :: Class ServiceBindingProxy
[hide private]
[frames] | no frames]

Class ServiceBindingProxy

source code

                         object --+                
                                  |                
             unittest.case.TestCase --+            
                                      |            
                             object --+            
                                      |            
    twisted.trial._synctest._Assertions --+        
                                          |        
twisted.trial._synctest.SynchronousTestCase --+    
                                              |    
              twisted.trial._asynctest.TestCase --+
                                                  |
                                                 ServiceBindingProxy

Instance Methods [hide private]
 
createServer(self, services, fallback=None, responses=[]) source code
 
test_bind_noMatchingServicesFound_noFallback(self) source code
 
test_bind_noMatchingServicesFound_fallback_success(self) source code
 
test_bind_noMatchingServicesFound_fallback_badAuth(self) source code
 
test_bind_match_success(self) source code
 
test_bind_match_success_later(self) source code
 
test_bind_match_badAuth(self) source code

Inherited from twisted.trial._asynctest.TestCase: __call__, __init__, __provides__, addCleanup, assertFailure, deferRunCleanups, deferSetUp, deferTearDown, deferTestMethod, failUnlessFailure, getSuppress, getTimeout

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

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

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

Inherited from twisted.trial._synctest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFalse, assertIdentical, assertIn, assertIs, assertIsInstance, assertIsNot, assertNoResult, 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, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessIsInstance, failUnlessRaises, failUnlessSubstring, failUnlessTrue, failUnlessWarns, failureResultOf, successResultOf

Inherited from unittest.case.TestCase: __providedBy__, __repr__, __str__, addTypeEqualityFunc, assertDictContainsSubset, assertDictEqual, assertGreater, assertGreaterEqual, assertIsNone, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotRegexpMatches, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTupleEqual, countTestCases, debug, defaultTestResult, doCleanups, id, setUp, 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]
  berdecoder = <LDAPBERDecoderContext_TopLevel identities={0x10:...

Inherited from twisted.trial._asynctest.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._asynctest.TestCase: timeout

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

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

berdecoder

Value:
<LDAPBERDecoderContext_TopLevel identities={0x10: LDAPMessage} fallbac\
k=None inherit=<LDAPBERDecoderContext_LDAPMessage identities={0x80: LD\
APControls} fallback=<LDAPBERDecoderContext identities={0x40: LDAPBind\
Request, 0x41: LDAPBindResponse, 0x42: LDAPUnbindRequest, 0x43: LDAPSe\
archRequest, 0x44: LDAPSearchResultEntry, 0x45: LDAPSearchResultDone, \
0x46: LDAPModifyRequest, 0x47: LDAPModifyResponse, 0x48: LDAPAddReques\
t, 0x49: LDAPAddResponse, 0x4a: LDAPDelRequest, 0x4b: LDAPDelResponse,\
 0x4c: LDAPModifyDNRequest, 0x4d: LDAPModifyDNResponse, 0x83: LDAPRefe\
...