Mr.Combet Webshell
Your IP :
18.118.6.79
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
lib
/
python2.7
/
site-packages
/
zope
/
component
/
Edit File Name :
testing.py
############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # FOR A PARTICULAR PURPOSE. # ############################################################################## """Placeless Test Setup """ # HACK to make sure basicmost event subscriber is installed import zope.component.event # we really don't need special setup now: try: from zope.testing.cleanup import CleanUp as PlacelessSetup except ImportError: class PlacelessSetup(object): def cleanUp(self): from zope.component.globalregistry import base base.__init__('base') def setUp(self): self.cleanUp() def tearDown(self): self.cleanUp() def setUp(test=None): PlacelessSetup().setUp() def tearDown(test=None): PlacelessSetup().tearDown()
Save