Package ldaptor :: Package test :: Module test_inmemory :: Class TestInMemoryDatabase
[show private | hide private]
[frames | no frames]

Class TestInMemoryDatabase

TestCase --+
           |
          TestInMemoryDatabase


Method Summary
  setUp(self)
  test_addChild(self)
  test_addChild_Exists(self)
  test_children_empty(self)
  test_children_oneChild(self)
  test_children_repeat(self)
Test that .children() returns a copy of the data so that modifying it does not affect behaviour.
  test_children_twoChildren(self)
  test_delete(self)
  test_delete_nonLeaf(self)
  test_delete_root(self)
  test_deleteChild(self)
  test_deleteChild_NonExisting(self)
  test_lookup_deep(self)
  test_lookup_fail(self)
  test_lookup_fail_outOfTree(self)
  test_parent(self)
  test_setPassword(self)
  test_subtree_empty(self)
  test_subtree_many(self)
  test_subtree_many_cb(self)
  test_subtree_oneChild(self)
  test_subtree_oneChild_cb(self)
    Inherited from TestCase
  assert_(self, condition, message)
  assertApproximates(self, first, second, tolerance, msg)
  assertEqual(self, first, second, msg)
  assertEquals(self, first, second, msg)
  assertIdentical(self, first, second, msg)
  assertIn(self, containee, container, msg)
  assertNotEqual(self, first, second, msg)
  assertNotEquals(self, first, second, msg)
  assertNotIdentical(self, first, second, msg)
  assertNotIn(self, containee, container, msg)
  assertRaises(self, exception, f, *args, **kwargs)
  fail(self, message)
  failIf(self, condition, message)
  failIfEqual(self, first, second, msg)
  failIfEquals(self, first, second, msg)
  failIfIdentical(self, first, second, msg)
  failIfIn(self, containee, container, msg)
  failUnless(self, condition, message)
  failUnlessEqual(self, first, second, msg)
  failUnlessIdentical(self, first, second, msg)
  failUnlessIn(self, containee, container, msg)
  failUnlessRaises(self, exception, f, *args, **kwargs)
  mktemp(self)
  runReactor(self, timesOrSeconds, seconds)
I'll iterate the reactor for a while.
  setUpClass(self)
  tearDown(self)
  tearDownClass(self)
  _mktGetCounter(self, base)

Class Variable Summary
    Inherited from TestCase
NoneType expectedAssertions = None                                                                  
int _assertions = 0                                                                     

Method Details

test_children_repeat(self)

Test that .children() returns a copy of the data so that modifying it does not affect behaviour.

Generated by Epydoc 2.1 on Tue Aug 17 17:08:20 2004 http://epydoc.sf.net