[Zope3-checkins] CVS: Zope3/src/zope/app/browser/tests - test_absoluteurl.py:1.15.2.3

Jim Fulton jim at zope.com
Wed Sep 17 09:01:19 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv24676/src/zope/app/browser/tests

Modified Files:
      Tag: parentgeddon-branch
	test_absoluteurl.py 
Log Message:
Reimplemented the ContainedProxy to be a persistent proxy.

Had to make some changes to zodb to support persistent proxies.
I've termorarily broken conflict resolution.



=== Zope3/src/zope/app/browser/tests/test_absoluteurl.py 1.15.2.2 => 1.15.2.3 ===
--- Zope3/src/zope/app/browser/tests/test_absoluteurl.py:1.15.2.2	Tue Sep  9 14:08:18 2003
+++ Zope3/src/zope/app/browser/tests/test_absoluteurl.py	Wed Sep 17 09:00:48 2003
@@ -91,7 +91,7 @@
 
         vh_root = TrivialContent()
         content = contained(vh_root, Root(), name='a')
-        request._vh_root = contained(vh_root, Root(), name='a')
+        request._vh_root = content
         content = contained(TrivialContent(), content, name='b')
         content = contained(TrivialContent(), content, name='c')
         view = getView(content, 'absolute_url', request)
@@ -109,8 +109,8 @@
         request.setViewType(IBrowserPresentation)
 
         vh_root = TrivialContent()
-        request._vh_root = contained(vh_root, Root(), name='a')
         content = contained(vh_root, Root(), name='a')
+        request._vh_root = content
         content = contained(TrivialContent(), content, name='b')
         content = contained(TrivialContent(), content, name='c')
         view = getView(content, 'absolute_url', request)




More information about the Zope3-Checkins mailing list