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

Type TestEquality

    object --+        
             |        
object --+   |        
         |   |        
  TestCase --+        
             |        
   _Assertions --+    
                 |    
          TestCase --+
                     |
                    TestEquality


Method Summary
  testEquality(self)
LDAP objects equal LDAP objects with same type and content
  testInEquality(self)
LDAP objects do not equal LDAP objects with different type or content
    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 valuesToTest = ((<class ldaptor.protocols.pureldap.LDAPF...
    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

testEquality(self)

LDAP objects equal LDAP objects with same type and content

testInEquality(self)

LDAP objects do not equal LDAP objects with different type or content

Class Variable Details

valuesToTest

Type:
tuple
Value:
((<class ldaptor.protocols.pureldap.LDAPFilter_equalityMatch at 0x4022\
3c8c>,
  [LDAPAttributeDescription(value='cn'), LDAPAssertionValue(value='foo\
')]),
 (<class ldaptor.protocols.pureldap.LDAPFilter_equalityMatch at 0x4022\
3c8c>,
  [LDAPAttributeDescription(value='cn'), LDAPAssertionValue(value='bar\
')]),
...                                                                    

Generated by Epydoc 2.1 on Sat Aug 26 13:54:33 2006 http://epydoc.sf.net