Initial import to Tizen
[profile/ivi/python-twisted.git] / twisted / test / plugin_extra2.py
1 # Copyright (c) 2005 Divmod, Inc.
2 # Copyright (c) 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)