[Zope3-checkins]
CVS: Zope3/src/zope/app/browser/skins/rotterdam/tests
- test_xmlnavigationviews.py:1.9.10.1
Philipp von Weitershausen
philikon at philikon.de
Sun Feb 8 09:28:50 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam/tests
In directory cvs.zope.org:/tmp/cvs-serv16073/browser/skins/rotterdam/tests
Modified Files:
Tag: philikon-movecontent-branch
test_xmlnavigationviews.py
Log Message:
Can't import File from zope.app.content anymore, need to define stub File
object for tests.
=== Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py 1.9 => 1.9.10.1 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py:1.9 Fri Nov 21 12:11:59 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py Sun Feb 8 09:28:50 2004
@@ -12,28 +12,27 @@
#
##############################################################################
"""
-
-Revision information:
$Id$
"""
-#import sys
-#sys.path.insert(0, r"c:\Zope3\src")
+from unittest import TestCase, TestLoader, TextTestRunner
+
+from zope.interface import implements
+from zope.pagetemplate.tests.util import check_xml
+from zope.publisher.browser import TestRequest
from zope.app.tests import ztapi
-from zope.app.content.file import File
from zope.app.traversing import traverse
-from zope.interface import implements
-from unittest import TestCase, TestLoader, TextTestRunner
from zope.app.services.tests.eventsetup import EventSetup
-from zope.pagetemplate.tests.util import check_xml
from zope.publisher.interfaces.browser import IBrowserPublisher
from zope.app.browser.skins.rotterdam.tests import util
from zope.app.browser.skins.rotterdam.xmlobject \
import ReadContainerXmlObjectView
from zope.app.interfaces.container import IReadContainer
from zope.app.browser.skins.rotterdam.xmlobject import XmlObjectView
-from zope.publisher.browser import TestRequest
+
+class File:
+ pass
class TestXmlObject(EventSetup, TestCase):
More information about the Zope3-Checkins
mailing list