Package twisted :: Package test :: Module test_hook :: Class HookTestCase
[show private | hide private]
[frames | no frames]

Class HookTestCase

TestCase --+
           |
          HookTestCase


test case to make sure hooks are called
Method Summary
  assert_(self, condition, message)
(inherited from TestCase)
  assertApproximates(self, first, second, tolerance, msg)
(inherited from TestCase)
  assertEqual(self, first, second, msg)
(inherited from TestCase)
  assertEquals(self, first, second, msg)
(inherited from TestCase)
  assertNotEqual(self, first, second, msg)
(inherited from TestCase)
  assertNotEquals(self, first, second, msg)
(inherited from TestCase)
  assertRaises(self, exception, f, *args, **kwargs)
(inherited from TestCase)
  fail(self, message)
(inherited from TestCase)
  failIf(self, condition, message)
(inherited from TestCase)
  failIfEqual(self, first, second, msg)
(inherited from TestCase)
  failUnless(self, condition, message)
(inherited from TestCase)
  failUnlessEqual(self, first, second, msg)
(inherited from TestCase)
  failUnlessRaises(self, exception, f, *args, **kwargs)
(inherited from TestCase)
  setUp(self)
Make sure we have clean versions of our classes.
  tearDown(self)
(inherited from TestCase)
  testBaseHook(self)
make sure that the base class's hook is called reliably
  testSubHook(self)
test interactions between base-class hooks and subclass hooks

Method Details

setUp(self)

Make sure we have clean versions of our classes.
Overrides:
twisted.trial.unittest.TestCase.setUp

testBaseHook(self)

make sure that the base class's hook is called reliably

testSubHook(self)

test interactions between base-class hooks and subclass hooks

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:26:12 2003 http://epydoc.sf.net