[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/ftests - test_vhosting.py:1.10.10.2

Philipp von Weitershausen philikon at philikon.de
Wed Feb 11 12:02:23 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/traversing/ftests
In directory cvs.zope.org:/tmp/cvs-serv29469/app/traversing/ftests

Modified Files:
      Tag: philikon-movecontent-branch
	test_vhosting.py 
Log Message:
Import ZPTPage from zope.products.zptpage for now. This is not a final
solution and we need to come up with something else.

This functional test adds ZPT pages with certain output code so that it
can test whether URLs (e.g. in @@absolute_url) work through virtual
hosting.


=== Zope3/src/zope/app/traversing/ftests/test_vhosting.py 1.10.10.1 => 1.10.10.2 ===
--- Zope3/src/zope/app/traversing/ftests/test_vhosting.py:1.10.10.1	Sun Feb  8 09:52:14 2004
+++ Zope3/src/zope/app/traversing/ftests/test_vhosting.py	Wed Feb 11 12:02:22 2004
@@ -19,13 +19,16 @@
 import unittest
 from zope.app.tests import ztapi
 from zope.testing.functional import BrowserTestCase
-from zope.app.content.zpt import ZPTPage
 from zope.app.folder import Folder
 from transaction import get_transaction
 from zope.app.publisher.browser.resource import Resource
 from zope.app.traversing import traverse
 from zope.security.checker import defineChecker, NoProxy
 from zope.app.container.contained import Contained
+
+#XXX Waaaaaaaa
+# We can't depend on zope.products here
+from zope.products.zptpage.zptpage import ZPTPage
 
 __metaclass__ = type
 




More information about the Zope3-Checkins mailing list