1# Copyright (c) 2005 Divmod, Inc. 2# Copyright (c) Twisted Matrix Laboratories. 3# See LICENSE for details. 4 5# Don't change the docstring, it's part of the tests 6""" 7I'm a test drop-in. The plugin system's unit tests use me. No one 8else should. 9""" 10 11from zope.interface import provider 12 13from twisted.plugin import IPlugin 14from twisted.test.test_plugin import ITestPlugin, ITestPlugin2 15 16 17@provider(ITestPlugin, IPlugin) 18class TestPlugin: 19 """ 20 A plugin used solely for testing purposes. 21 """ 22 23 @staticmethod 24 def test1(): 25 pass 26 27 28@provider(ITestPlugin2, IPlugin) 29class AnotherTestPlugin: 30 """ 31 Another plugin used solely for testing purposes. 32 """ 33 34 @staticmethod 35 def test(): 36 pass 37 38 39@provider(ITestPlugin2, IPlugin) 40class ThirdTestPlugin: 41 """ 42 Another plugin used solely for testing purposes. 43 """ 44 45 @staticmethod 46 def test(): 47 pass 48