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

Andreas Jung andreas at andreas-jung.com
Sun Jan 16 09:00:51 EST 2011


Log message for revision 119604:
  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 02:24:24 UTC (rev 119603)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py	2011-01-16 14:00:51 UTC (rev 119604)
@@ -42,13 +42,13 @@
         """ cleanUp() is required to clear out the application registry
         between tests (done in setUp for good measure too)
         """
-        testing.cleanUp()
+        self.config = testing.setUp()
 
     def tearDown(self):
         """ cleanUp() is required to clear out the application registry
         between tests
         """
-        testing.cleanUp()
+        testing.tearDown()
 
     def test_index(self):
         from zopyx.smartprintng.server.views import index



More information about the checkins mailing list