~ntt-pf-lab/nova/monkey_patch_notification

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/twisted/test/plugin_extra2.py

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2005 Divmod, Inc.
 
2
# Copyright (c) 2007 Twisted Matrix Laboratories.
 
3
# See LICENSE for details.
 
4
 
 
5
"""
 
6
Test plugin used in L{twisted.test.test_plugin}.
 
7
"""
 
8
 
 
9
from zope.interface import classProvides
 
10
 
 
11
from twisted.plugin import IPlugin
 
12
from twisted.test.test_plugin import ITestPlugin
 
13
 
 
14
 
 
15
 
 
16
class FourthTestPlugin:
 
17
    classProvides(ITestPlugin,
 
18
                  IPlugin)
 
19
 
 
20
    def test1():
 
21
        pass
 
22
    test1 = staticmethod(test1)
 
23
 
 
24
 
 
25
 
 
26
class FifthTestPlugin:
 
27
    """
 
28
    More documentation: I hate you.
 
29
    """
 
30
    classProvides(ITestPlugin,
 
31
                  IPlugin)
 
32
 
 
33
    def test1():
 
34
        pass
 
35
    test1 = staticmethod(test1)