Author: reebalazs
Date: Thu Sep 27 10:26:18 2007
New Revision: 46927

Modified:
   kukit/kss.demo/branch/ree-demoload/kss/demo/tests/test_demoview.py
Log:
base2 followup: Fix tests that need to be adjusted to the new html marshalling.
 Also: remove doctest for demoview which is moved, but it has no tests anyway

Modified: kukit/kss.demo/branch/ree-demoload/kss/demo/tests/test_demoview.py
==============================================================================
--- kukit/kss.demo/branch/ree-demoload/kss/demo/tests/test_demoview.py  
(original)
+++ kukit/kss.demo/branch/ree-demoload/kss/demo/tests/test_demoview.py  Thu Sep 
27 10:26:18 2007
@@ -58,11 +58,11 @@
         res = view.getDivContent()
         self.assertEquals(res, [
             {'selectorType': '', 'params': {
-                    'html': u'<h1>it worked</h1>',
+                    'html': u'<![CDATA[<h1>it worked</h1>]]>',
                     'withKssSetup': u'True',
                 }, 'name': 'replaceInnerHTML', 'selector': 'div#demo'}, 
             {'selectorType': '', 'params': {
-                    'html': u'<h1 id="workedagain">it worked&#160;again</h1>',
+                    'html': u'<![CDATA[<h1 id="workedagain">it 
worked&#160;again</h1>]]>',
                     'withKssSetup': u'True',
                 }, 'name': 'replaceInnerHTML', 'selector': 'div#demo'},
             ])
@@ -70,5 +70,4 @@
 def test_suite():
     return unittest.TestSuite((
         unittest.makeSuite(KSSDemoTestCase),
-        doctest.DocTestSuite('kss.demo.demoview'),
         ))
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to