Package ldaptor :: Package test :: Module test_distinguishedname :: Class LDAPDistinguishedName_contains
[hide private]
[frames] | no frames]

Class LDAPDistinguishedName_contains

source code

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

Instance Methods [hide private]
 
test_selfContainment(self) source code
 
test_realContainment(self) source code
 
test_nonContainment_parents(self) source code
 
test_nonContainment_nonParents(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, 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]
  shsec = DistinguishedName(listOfRDNs=(RelativeDistinguishedNam...
  hsec = DistinguishedName(listOfRDNs=(RelativeDistinguishedName...
  sec = DistinguishedName(listOfRDNs=(RelativeDistinguishedName(...
  ec = DistinguishedName(listOfRDNs=(RelativeDistinguishedName(a...
  c = DistinguishedName(listOfRDNs=(RelativeDistinguishedName(at...
  soc = DistinguishedName(listOfRDNs=(RelativeDistinguishedName(...
  oc = DistinguishedName(listOfRDNs=(RelativeDistinguishedName(a...
  other = DistinguishedName(listOfRDNs=(RelativeDistinguishedNam...
  root = DistinguishedName(listOfRDNs=())

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__

Class Variable Details [hide private]

shsec

Value:
DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypes\
AndValues=(LDAPAttributeTypeAndValue(attributeType='dc', value='sub2')\
,)), RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeT\
ypeAndValue(attributeType='cn', value='host'),)), RelativeDistinguishe\
dName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType\
='dc', value='sub'),)), RelativeDistinguishedName(attributeTypesAndVal\
ues=(LDAPAttributeTypeAndValue(attributeType='dc', value='example'),))\
, RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeType\
...

hsec

Value:
DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypes\
AndValues=(LDAPAttributeTypeAndValue(attributeType='cn', value='host')\
,)), RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeT\
ypeAndValue(attributeType='dc', value='sub'),)), RelativeDistinguished\
Name(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType=\
'dc', value='example'),)), RelativeDistinguishedName(attributeTypesAnd\
Values=(LDAPAttributeTypeAndValue(attributeType='dc', value='com'),)))\
)

sec

Value:
DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypes\
AndValues=(LDAPAttributeTypeAndValue(attributeType='dc', value='sub'),\
)), RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTy\
peAndValue(attributeType='dc', value='example'),)), RelativeDistinguis\
hedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeTy\
pe='dc', value='com'),))))

ec

Value:
DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypes\
AndValues=(LDAPAttributeTypeAndValue(attributeType='dc', value='exampl\
e'),)), RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttribu\
teTypeAndValue(attributeType='dc', value='com'),))))

c

Value:
DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypes\
AndValues=(LDAPAttributeTypeAndValue(attributeType='dc', value='com'),\
)),))

soc

Value:
DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypes\
AndValues=(LDAPAttributeTypeAndValue(attributeType='dc', value='sub'),\
)), RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTy\
peAndValue(attributeType='dc', value='other'),)), RelativeDistinguishe\
dName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType\
='dc', value='com'),))))

oc

Value:
DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypes\
AndValues=(LDAPAttributeTypeAndValue(attributeType='dc', value='other'\
),)), RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttribute\
TypeAndValue(attributeType='dc', value='com'),))))

other

Value:
DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypes\
AndValues=(LDAPAttributeTypeAndValue(attributeType='o', value='foo'),)\
), RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTyp\
eAndValue(attributeType='c', value='US'),))))