[Erp5-report] r9140 - /erp5/trunk/products/ERP5Security/tests/testERP5Security.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Aug 10 22:49:58 CEST 2006
Author: jerome
Date: Thu Aug 10 22:49:54 2006
New Revision: 9140
URL: http://svn.erp5.org?rev=9140&view=rev
Log:
import verifyClass from Zope2 interfaces by default, even if zope.interface is in sys.path
Modified:
erp5/trunk/products/ERP5Security/tests/testERP5Security.py
Modified: erp5/trunk/products/ERP5Security/tests/testERP5Security.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Security/tests/testERP5Security.py?rev=9140&r1=9139&r2=9140&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Security/tests/testERP5Security.py (original)
+++ erp5/trunk/products/ERP5Security/tests/testERP5Security.py Thu Aug 10 22:49:54 2006
@@ -43,9 +43,9 @@
from Products.ERP5Type.Cache import clearCache
from Products.PluggableAuthService import PluggableAuthService
try:
- from zope.interface.verify import verifyClass
+ from Interface.Verify import verifyClass
except ImportError:
- from Interface.Verify import verifyClass
+ from zope.interface.verify import verifyClass
class TestERP5Security(ERP5TypeTestCase):
"""Test ERP5 Security."""
More information about the Erp5-report
mailing list