Table of Contents

Module: test_hook Twisted-0.17.4/twisted/test/test_hook.py

Test cases for twisted.hook module.

Imported modules   
from pyunit import unittest
from twisted.python import hook
Functions   
basePost
basePre
subPost
subPre
  basePost 
basePost (
        base,
        a,
        b,
        )

a post-hook for the base class

  basePre 
basePre (
        base,
        a,
        b,
        )

a pre-hook for the base class

  subPost 
subPost (
        sub,
        a,
        b,
        )

a post-hook for the subclass

  subPre 
subPre (
        sub,
        a,
        b,
        )

a pre-hook for the subclass

Classes   
BaseClass

dummy class to help in testing.

HookTestCase

test case to make sure hooks are called

SubClass

another dummy class


Table of Contents

This document was automatically generated on Sat Apr 20 01:31:40 2002 by HappyDoc version 2.0