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

Type LDAPDistinguishedName_InitialSpaces

     object --+            
              |            
 object --+   |            
          |   |            
   TestCase --+            
              |            
    _Assertions --+        
                  |        
           TestCase --+    
                      |    
TestCaseWithKnownValues --+
                          |
                         LDAPDistinguishedName_InitialSpaces


Method Summary
    Inherited from TestCaseWithKnownValues
  testKnownValues(self)
    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).
  _cbDeferTestMethod(self, ignored, result)
  _classCleanUp(self, result)
  _cleanUp(self, result)
  _ebDeferSetUp(self, failure, result)
  _ebDeferSetUpClass(self, error, result)
  _ebDeferTearDown(self, failure, result)
  _ebDeferTestMethod(self, f, result)
  _ebTearDownClass(self, error, result)
  _getReason(self, f)
  _initInstances(cls)
(Class method)
  _isFirst(self)
  _isLast(self)
  _prepareClassFixture(self)
Lots of tests assume that test methods all run in the same instance of TestCase.
  _run(self, methodName, result)
  _wait(self, d, running)
Take a Deferred that only ever callbacks.
    Inherited from _Assertions
  assert_(self, condition, msg)
fails the test if condition evaluates to True
  assertAlmostEqual(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertAlmostEquals(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertApproximates(self, first, second, tolerance, msg)
asserts that first - second > tolerance
  assertEqual(self, first, second, msg)
fail the test if first and second are not equal
  assertEquals(self, first, second, msg)
fail the test if first and second are not equal
  assertFailure(self, deferred, *expectedFailures)
assert that deferred will errback a failure of type in expectedFailures this is analagous to an async assertRaises
  assertFalse(self, condition, msg)
fails the test if condition evaluates to False
  assertIdentical(self, first, second, msg)
fail the test if first is not second.
  assertIn(self, containee, container, msg)
fail the test if containee is not found in container
  assertNot(self, condition, msg)
fails the test if condition evaluates to False
  assertNotAlmostEqual(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertNotAlmostEquals(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertNotEqual(self, first, second, msg)
fail the test if first == second
  assertNotEquals(self, first, second, msg)
fail the test if first == second
  assertNotIdentical(self, first, second, msg)
fail the test if first is second.
  assertNotIn(self, containee, container, msg)
fail the test if containee is found in container
  assertNotSubstring(self, substring, astring, msg)
  assertRaises(self, exception, f, *args, **kwargs)
fails the test unless calling the function f with the given args and kwargs does not raise exception.
  assertSubstring(self, substring, astring, msg)
  assertTrue(self, condition, msg)
fails the test if condition evaluates to True
  fail(self, msg)
absolutely fails the test, do not pass go, do not collect $200
  failIf(self, condition, msg)
fails the test if condition evaluates to False
  failIfAlmostEqual(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  failIfAlmostEquals(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  failIfEqual(self, first, second, msg)
fail the test if first == second
  failIfEquals(self, first, second, msg)
fail the test if first == second
  failIfIdentical(self, first, second, msg)
fail the test if first is second.
  failIfIn(self, containee, container, msg)
fail the test if containee is found in container
  failIfSubstring(self, substring, astring, msg)
  failUnless(self, condition, msg)
fails the test if condition evaluates to True
  failUnlessAlmostEqual(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  failUnlessAlmostEquals(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  failUnlessApproximates(self, first, second, tolerance, msg)
asserts that first - second > tolerance
  failUnlessEqual(self, first, second, msg)
fail the test if first and second are not equal
  failUnlessEquals(self, first, second, msg)
fail the test if first and second are not equal
  failUnlessFailure(self, deferred, *expectedFailures)
assert that deferred will errback a failure of type in expectedFailures this is analagous to an async assertRaises
  failUnlessFalse(self, condition, msg)
fails the test if condition evaluates to False
  failUnlessIdentical(self, first, second, msg)
fail the test if first is not second.
  failUnlessIn(self, containee, container, msg)
fail the test if containee is not found in container
  failUnlessRaises(self, exception, f, *args, **kwargs)
fails the test unless calling the function f with the given args and kwargs does not raise exception.
  failUnlessSubstring(self, substring, astring, msg)
  failUnlessTrue(self, condition, msg)
fails the test if condition evaluates to True
    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 = (('cn=foo, ou=bar,  dc=quux, \\ attributeT...
    Inherited from TestCase
Implements __implemented__ = <implementedBy twisted.trial.unittest....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from TestCase
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Class Variable Details

knownValues

Type:
tuple
Value:
(('cn=foo, ou=bar,  dc=quux, \\ attributeThatStartsWithSpace=Value',
  [[('cn', 'foo')],
   [('ou', 'bar')],
   [('dc', 'quux')],
   [(' attributeThatStartsWithSpace', 'Value')]]),)                    

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