[Zope3-checkins] CVS: Zope3/src/zope/context/tests - test_ContextAware.py:1.5

Jim Fulton jim@zope.com
Mon, 2 Jun 2003 07:06:26 -0400


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

Modified Files:
	test_ContextAware.py 
Log Message:
Changed to use zope.app.context.ContextWrapper.


=== Zope3/src/zope/context/tests/test_ContextAware.py 1.4 => 1.5 ===
--- Zope3/src/zope/context/tests/test_ContextAware.py:1.4	Sun Jun  1 11:59:40 2003
+++ Zope3/src/zope/context/tests/test_ContextAware.py	Mon Jun  2 07:06:25 2003
@@ -19,7 +19,7 @@
 """
 
 from unittest import TestCase, TestSuite, main, makeSuite
-from zope.context import Wrapper
+from zope.app.context import ContextWrapper
 from zope.context import ContextAware, getWrapperContainer
 
 def setter(self, v):
@@ -72,7 +72,7 @@
         self.assertEqual(b.v, (None, 1))
 
         # Check wrapper case
-        b = Wrapper(b, 42)
+        b = ContextWrapper(b, 42)
         self.assertEqual(b.p1B, 42)
         self.assertEqual(b.p2B, 42)
         self.assertEqual(b.fB(), 42)