[Zope3-checkins] CVS: Zope3/src/zope/proxy/context/tests - test_simplemethodwrapper.py:1.1.2.2 test_wrapper.py:1.1.2.2

Guido van Rossum guido@python.org
Mon, 23 Dec 2002 15:18:18 -0500


Update of /cvs-repository/Zope3/src/zope/proxy/context/tests
In directory cvs.zope.org:/tmp/cvs-serv32683/context/tests

Modified Files:
      Tag: NameGeddon-branch
	test_simplemethodwrapper.py test_wrapper.py 
Log Message:
Buncha renaming stuff; zope.proxy and zope.security now work.

=== Zope3/src/zope/proxy/context/tests/test_simplemethodwrapper.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/proxy/context/tests/test_simplemethodwrapper.py:1.1.2.1	Mon Dec 23 14:33:06 2002
+++ Zope3/src/zope/proxy/context/tests/test_simplemethodwrapper.py	Mon Dec 23 15:17:48 2002
@@ -366,7 +366,7 @@
         self.assertRaises(TypeError, wrapped) # call as wrapped()
         self.assertRaises(TypeError, lambda: wrapped[23])
         self.assert_(not callable(obj))
-        # This fails, because the base proxy c class in Zope/Proxy/proxy.c
+        # This fails, because the base proxy c class in zope/proxy/proxy.c
         # fills the tp_call slot.
         #
         # self.assert_(not callable(wrapped))
@@ -389,7 +389,7 @@
         obj = ClassWithGetitem()
         wrapped = Wrapper(obj)
         self.assert_(not callable(obj))
-        # This fails, because the base proxy c class in Zope/Proxy/proxy.c
+        # This fails, because the base proxy c class in zope/proxy/proxy.c
         # fills the tp_call slot.
         #
         # self.assert_(not callable(wrapped))
@@ -420,7 +420,7 @@
         obj = {0:23}
         wrapped = Wrapper(obj)
         self.assert_(not callable(obj))
-        # This fails, because the base proxy c class in Zope/Proxy/proxy.c
+        # This fails, because the base proxy c class in zope/proxy/proxy.c
         # fills the tp_call slot.
         #
         # self.assert_(not callable(wrapped))


=== Zope3/src/zope/proxy/context/tests/test_wrapper.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/proxy/context/tests/test_wrapper.py:1.1.2.1	Mon Dec 23 14:33:06 2002
+++ Zope3/src/zope/proxy/context/tests/test_wrapper.py	Mon Dec 23 15:17:48 2002
@@ -15,8 +15,7 @@
 import unittest
 
 from zope.proxy.context import wrapper
-from zope.proxy.tests.test_proxy \
-     import Comparable, Thing, ProxyTestCase
+from zope.proxy.tests.test_proxy import Comparable, Thing, ProxyTestCase
 
 
 class WrapperTestCase(ProxyTestCase):