[Zope3-checkins] CVS: Zope3/src/zope/app/renderer/tests - renderer.zcml:1.2 test_directives.py:1.2

Stephan Richter srichter@cosmos.phy.tufts.edu
Sat, 2 Aug 2003 07:20:15 -0400


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

Modified Files:
	renderer.zcml test_directives.py 
Log Message:
Cleanup.


=== Zope3/src/zope/app/renderer/tests/renderer.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/renderer/tests/renderer.zcml:1.1	Thu Jul 31 13:59:41 2003
+++ Zope3/src/zope/app/renderer/tests/renderer.zcml	Sat Aug  2 07:20:09 2003
@@ -1,5 +1,4 @@
 <configure xmlns="http://namespaces.zope.org/zope"
-           xmlns:meta="http://namespaces.zope.org/meta"
            xmlns:renderer="http://namespaces.zope.org/renderer">
 
   <include package="zope.app.renderer" file="meta.zcml"/>
@@ -14,7 +13,4 @@
       for="zope.publisher.interfaces.browser.IBrowserPresentation" 
       factory=".tests.test_directives.TestRenderer" />
  
-
 </configure>
-
-  


=== Zope3/src/zope/app/renderer/tests/test_directives.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/renderer/tests/test_directives.py:1.1	Thu Jul 31 13:59:41 2003
+++ Zope3/src/zope/app/renderer/tests/test_directives.py	Sat Aug  2 07:20:09 2003
@@ -15,15 +15,12 @@
 
 $Id$
 """
-import os
 import unittest
 
-from cStringIO import StringIO
-
 from zope.interface import Interface, implements
 from zope.component import getView
 from zope.component.tests.placelesssetup import PlacelessSetup
-from zope.configuration import xmlconfig, tests
+from zope.configuration import xmlconfig
 from zope.publisher.browser import BrowserView, TestRequest
 
 import zope.app.renderer
@@ -42,10 +39,6 @@
 
 
 class DirectivesTest(PlacelessSetup, unittest.TestCase):
-
-    def setUp(self):
-        PlacelessSetup.setUp(self)
-        self.context = xmlconfig.file("simple.zcml", tests)
 
     def test_sourcetype(self):
         self.assertEqual(SourceTypes.getAllTitles(), [])