[Checkins] SVN: five.pt/trunk/src/five/pt/tests/test_persistenttemplate.py Test showing failure to render error_long.manage_main

Leonardo Rochael Almeida leorochael at gmail.com
Mon Sep 12 10:22:34 EST 2011


Log message for revision 122779:
  Test showing failure to render error_long.manage_main
  

Changed:
  U   five.pt/trunk/src/five/pt/tests/test_persistenttemplate.py

-=-
Modified: five.pt/trunk/src/five/pt/tests/test_persistenttemplate.py
===================================================================
--- five.pt/trunk/src/five/pt/tests/test_persistenttemplate.py	2011-09-12 15:21:17 UTC (rev 122778)
+++ five.pt/trunk/src/five/pt/tests/test_persistenttemplate.py	2011-09-12 15:22:33 UTC (rev 122779)
@@ -189,3 +189,9 @@
             '%s\n %s\n-->\n' % (_error_start, '\n '.join(template._v_errors))
         )
         self.assertTrue(editable_text.startswith(error_prefix))
+
+    def test_error_log_object(self):
+        from Products.SiteErrorLog.SiteErrorLog import SiteErrorLog
+        error_log = SiteErrorLog().__of__(self.folder)
+        # this should render without errors
+        error_log.manage_main()



More information about the checkins mailing list