[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/basic/tests - test_standardmacros.py:1.2.4.1

Sidnei da Silva sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:42:08 -0500


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

Modified Files:
      Tag: paris-copypasterename-branch
	test_standardmacros.py 
Log Message:
Updating from HEAD to make sure everything still works before merging

=== Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py 1.2 => 1.2.4.1 ===
--- Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py:1.2	Wed Dec 25 09:12:41 2002
+++ Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py	Tue Feb 11 09:41:07 2003
@@ -20,6 +20,7 @@
 from zope.app.services.tests.placefulsetup\
            import PlacefulSetup
 from zope.component import getService
+from zope.component.servicenames import Views
 from zope.publisher.interfaces.browser import IBrowserView
 from zope.publisher.interfaces.browser import IBrowserPresentation
 from zope.interface import Interface
@@ -77,7 +78,7 @@
 
     def setUp(self):
         PlacefulSetup.setUp(self)
-        provideView = getService(None,"Views").provideView
+        provideView = getService(None,Views).provideView
         provideView(I, 'page1', IBrowserPresentation, [page1])
         provideView(I, 'collides_with_page1', IBrowserPresentation,
                     [collides_with_page1])