[KSS-checkins] r51972 - kukit/kss.zope/trunk/kss/zope/tests

gotcha at codespeak.net gotcha at codespeak.net
Sat Mar 1 08:36:45 CET 2008


Author: gotcha
Date: Sat Mar  1 08:36:45 2008
New Revision: 51972

Modified:
   kukit/kss.zope/trunk/kss/zope/tests/test_kssview_core.py
Log:
* change protocol version

* remove unneeded code


Modified: kukit/kss.zope/trunk/kss/zope/tests/test_kssview_core.py
==============================================================================
--- kukit/kss.zope/trunk/kss/zope/tests/test_kssview_core.py	(original)
+++ kukit/kss.zope/trunk/kss/zope/tests/test_kssview_core.py	Sat Mar  1 08:36:45 2008
@@ -27,7 +27,6 @@
 from kss.zope.interfaces import IKSSPluginRegistry
 from kss.zope.registry import GlobalPluginRegistry
 from kss.zope.view import KSSView
-from kss.core import KSSUnicodeError
 
 class KSSTestCase(unittest.TestCase):
     def setUp(self):
@@ -113,7 +112,7 @@
     def _wrapped_commands(self, inline):
         header = textwrap.dedent(u'''\
                 <?xml version="1.0" ?>
-                <kukit xmlns="http://www.kukit.org/commands/1.0"><commands>
+                <kukit xmlns="http://www.kukit.org/commands/1.1"><commands>
                 ''')
         footer = '</commands></kukit>'
         return header + inline + footer
@@ -145,11 +144,6 @@
         awaited = u'''<command selector="div.class" name="replaceInnerHTML" selectorType=""><param name="html"><![CDATA[new content]]></param></command>'''
         self.assertCommandsEqual(result, awaited)
 
-def afterSetUp(self):
-    KSSViewTestCase.afterSetUp(self)
-    self.setDebugRequest()
-
-
 def test_suite():
     suites = []
     suites.append(unittest.makeSuite(TestKSSViewCoreCommandSet))


More information about the Kukit-checkins mailing list