[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/tests - testZopePublication.py:1.4

Jim Fulton jim@zope.com
Tue, 18 Jun 2002 10:38:25 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/tests
In directory cvs.zope.org:/tmp/cvs-serv4382/lib/python/Zope/App/ZopePublication/tests

Modified Files:
	testZopePublication.py 
Log Message:
Changed the request 'getPublication' method to a read-only
'publication' property.


=== Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py 1.3 => 1.4 ===
         self.assertEqual(ac, ApplicationController)
         r = self._createRequest('/++etc++ApplicationController',pub)
-        app = r.getPublication().getApplication(r)
+        app = r.publication.getApplication(r)
         self.assertEqual(app, ApplicationController)
         self.failIf(r.getTraversalStack())