[Checkins] SVN: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py another testing fix

Andreas Jung andreas at andreas-jung.com
Sun Jan 16 09:02:12 EST 2011


Log message for revision 119605:
  another testing fix
  

Changed:
  U   zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py

-=-
Modified: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py	2011-01-16 14:00:51 UTC (rev 119604)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py	2011-01-16 14:02:12 UTC (rev 119605)
@@ -78,7 +78,7 @@
         registrations your application declares in its configure.zcml
         (including dependent registrations for pyramid itself).
         """
-        testing.cleanUp()
+        self.config = testing.setUp()
         import zopyx.smartprintng.server
         import zope.configuration.xmlconfig
         zope.configuration.xmlconfig.file('configure.zcml',
@@ -86,7 +86,7 @@
 
     def tearDown(self):
         """ Clear out the application registry """
-        testing.cleanUp()
+        testing.tearDown()
 
     def test_index(self):
         from zopyx.smartprintng.server.views import index



More information about the checkins mailing list