[Zope3-checkins] CVS: Zope3/src/zope/app/component/tests - test_directives.py:1.6 test_factory.py:1.2
Jim Fulton
jim@zope.com
Wed, 28 May 2003 11:46:36 -0400
Update of /cvs-repository/Zope3/src/zope/app/component/tests
In directory cvs.zope.org:/tmp/cvs-serv11310/src/zope/app/component/tests
Modified Files:
test_directives.py test_factory.py
Log Message:
Deprecated zope.proxy.introspection. Just use zope.proxy.
=== Zope3/src/zope/app/component/tests/test_directives.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/component/tests/test_directives.py:1.5 Wed May 21 16:29:10 2003
+++ Zope3/src/zope/app/component/tests/test_directives.py Wed May 28 11:46:05 2003
@@ -19,7 +19,8 @@
from zope.configuration.exceptions import ConfigurationError
from zope.app.security.exceptions import UndefinedPermissionError
-from zope.security.proxy import getTestProxyItems, getObject as proxiedObject
+from zope.proxy import getObject as proxiedObject
+from zope.security.proxy import getTestProxyItems
import zope.app.component
from zope.component.exceptions import ComponentLookupError
=== Zope3/src/zope/app/component/tests/test_factory.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/component/tests/test_factory.py:1.1 Mon May 12 12:32:40 2003
+++ Zope3/src/zope/app/component/tests/test_factory.py Wed May 28 11:46:05 2003
@@ -46,7 +46,7 @@
def testFactory(self):
from zope.component import getService
- from zope.proxy.introspection import removeAllProxies
+ from zope.proxy import removeAllProxies
f = configfile("""
<permission id="zope.Foo" title="Zope Foo Permission" />
<content class="zope.app.component.tests.exampleclass.ExampleClass">
@@ -65,7 +65,7 @@
def testFactoryDefaultId(self):
from zope.component import getService
- from zope.proxy.introspection import removeAllProxies
+ from zope.proxy import removeAllProxies
f = configfile("""
<permission id="zope.Foo" title="Zope Foo Permission" />
<content class="zope.app.component.tests.exampleclass.ExampleClass">