Package ldaptor :: Package test :: Module test_pureldap :: Class KnownValues
[show private | hide private]
[frames | no frames]

Type KnownValues

    object --+        
             |        
object --+   |        
         |   |        
  TestCase --+        
             |        
   _Assertions --+    
                 |    
          TestCase --+
                     |
                    KnownValues


Method Summary
  testFromLDAP(self)
LDAPClass(encoded="...") should give known result with known input
  testPartial(self)
LDAPClass(encoded="...") with too short input should throw BERExceptionInsufficientData
  testToLDAP(self)
str(LDAPClass(...)) should give known result with known input
    Inherited from TestCase
  __init__(self, methodName)
Create an instance of the class that will use the named test method when executed.
  __call__(self, *args, **kwargs)
  deferSetUp(self, ignored, result)
  deferSetUpClass(self, result)
  deferTearDown(self, ignored, result)
  deferTearDownClass(self, ignored, result)
  deferTestMethod(self, ignored, result)
  getSkip(self)
  getSuppress(self)
  getTimeout(self)
  getTodo(self)
  mktemp(self)
will return a unique name that may be used as either a temporary directory or filename
  run(self, result)
  shortDescription(self)
Returns a one-line description of the test, or None if no description has been provided.
  visit(self, visitor)
Call visitor.visitCase(self).
    Inherited from TestCase
  __repr__(self)
  __str__(self)
  countTestCases(self)
  debug(self)
Run the test without collecting errors in a TestResult
  defaultTestResult(self)
  id(self)
  setUp(self)
Hook method for setting up the test fixture before exercising it.
  tearDown(self)
Hook method for deconstructing the test fixture after testing it.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Class Variable Summary
tuple knownValues = ((<class ldaptor.protocols.pureldap.LDAPMo...
    Inherited from TestCase
Implements __implemented__ = <implementedBy twisted.trial.unittest....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from TestCase
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Instance Method Details

testFromLDAP(self)

LDAPClass(encoded="...") should give known result with known input

testPartial(self)

LDAPClass(encoded="...") with too short input should throw BERExceptionInsufficientData

testToLDAP(self)

str(LDAPClass(...)) should give known result with known input

Class Variable Details

knownValues

Type:
tuple
Value:
((<class ldaptor.protocols.pureldap.LDAPModifyRequest at 0x4042ce9c>,
  [],
  {'modification': [BERSequence(value=[BEREnumerated(value=0), BERSequ\
ence(value=[LDAPAttributeDescription(value='bar'), BERSet(value=[LDAPS\
tring(value='a'), LDAPString(value='b')])])])],
   'object': 'cn=foo, dc=example, dc=com'},
  None,
  [102,
...                                                                    

Generated by Epydoc 2.1 on Sun Oct 1 10:49:46 2006 http://epydoc.sf.net