Package twisted :: Package test :: Module test_manhole :: Class ManholeTest
[show private | hide private]
[frames | no frames]

Class ManholeTest

TestCase --+
           |
          ManholeTest


Various tests for the manhole service.

Both the the importIdentity and importMain tests are known to fail when the __name__ in the manhole namespace is set to certain values.
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)
  tearDown(self)
(inherited from TestCase)
  test_importIdentity(self)
Making sure imported module is the same as one previously loaded.
  test_importMain(self)
Trying to import __main__

Method Details

test_importIdentity(self)

Making sure imported module is the same as one previously loaded.

test_importMain(self)

Trying to import __main__

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