| Server IP : 104.21.4.30 / Your IP : 104.23.197.228 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/test/ |
Upload File : |
# Copyright (c) 2005 Divmod, Inc.
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
# Don't change the docstring, it's part of the tests
"""
I'm a test drop-in. The plugin system's unit tests use me. No one
else should.
"""
from zope.interface import provider
from twisted.plugin import IPlugin
from twisted.test.test_plugin import ITestPlugin, ITestPlugin2
@provider(ITestPlugin, IPlugin)
class TestPlugin:
"""
A plugin used solely for testing purposes.
"""
def test1():
pass
test1 = staticmethod(test1)
@provider(ITestPlugin2, IPlugin)
class AnotherTestPlugin:
"""
Another plugin used solely for testing purposes.
"""
def test():
pass
test = staticmethod(test)
@provider(ITestPlugin2, IPlugin)
class ThirdTestPlugin:
"""
Another plugin used solely for testing purposes.
"""
def test():
pass
test = staticmethod(test)