Commit b715b494 authored by Jérome Perrin's avatar Jérome Perrin

import verifyClass from Zope2 interfaces by default, even if zope.interface is in sys.path



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9140 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3290f5cc
...@@ -43,9 +43,9 @@ from zLOG import LOG ...@@ -43,9 +43,9 @@ from zLOG import LOG
from Products.ERP5Type.Cache import clearCache from Products.ERP5Type.Cache import clearCache
from Products.PluggableAuthService import PluggableAuthService from Products.PluggableAuthService import PluggableAuthService
try: try:
from zope.interface.verify import verifyClass from Interface.Verify import verifyClass
except ImportError: except ImportError:
from Interface.Verify import verifyClass from zope.interface.verify import verifyClass
class TestERP5Security(ERP5TypeTestCase): class TestERP5Security(ERP5TypeTestCase):
"""Test ERP5 Security.""" """Test ERP5 Security."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment