[KSS-checkins] r38189 - kukit/kss.core/branch/philikon-cleanup/kss/core/tests

philikon at codespeak.net philikon at codespeak.net
Thu Feb 8 18:48:53 CET 2007


Author: philikon
Date: Thu Feb  8 18:48:51 2007
New Revision: 38189

Modified:
   kukit/kss.core/branch/philikon-cleanup/kss/core/tests/test_ttwapi.py
Log:
Don't installProducts('Five'). It's evil evil evil evil. In fact, I feel
the need to burn somebody at the stakes right now...


Modified: kukit/kss.core/branch/philikon-cleanup/kss/core/tests/test_ttwapi.py
==============================================================================
--- kukit/kss.core/branch/philikon-cleanup/kss/core/tests/test_ttwapi.py	(original)
+++ kukit/kss.core/branch/philikon-cleanup/kss/core/tests/test_ttwapi.py	Thu Feb  8 18:48:51 2007
@@ -1,25 +1,25 @@
 import unittest
 
-from zope import event, component
-from zope.lifecycleevent import ObjectModifiedEvent
-
 from Testing import ZopeTestCase
 ZopeTestCase.installProduct('PythonScripts')
-ZopeTestCase.installProduct('Five')
+
+from AccessControl import allow_module
+allow_module('kss.core.tests.help_ttwapi')
 
 import Products.Five
 from Products.Five import zcml
 
+from zope import event, component
+from zope.lifecycleevent import ObjectModifiedEvent
+
 from kss.core import KSSView
 from kss.core.tests.base import KssViewTestCase
 
-from AccessControl import allow_module
-allow_module('kss.core.tests.help_ttwapi')
-
 class TTWTestCase(KssViewTestCase):
     def afterSetUp(self):
         KssViewTestCase.afterSetUp(self)
-        self.app.manage_addProduct['PythonScripts'].manage_addPythonScript('kss_test')
+        self.app.manage_addProduct['PythonScripts'].manage_addPythonScript(
+            'kss_test')
         self.setDebugRequest()
 
     def test_scriptWithCore(self):


More information about the Kukit-checkins mailing list