[Zope-Checkins] SVN: Zope/branches/philikon-zope32-integration/lib/python/Products/SiteErrorLog/tests/testSiteErrorLog.py Removed useless test that fails if some other failing test leaves

Florent Guillaume fg at nuxeo.com
Tue Nov 1 18:54:35 EST 2005


Log message for revision 39837:
  Removed useless test that fails if some other failing test leaves
  something in the error_log.
  

Changed:
  U   Zope/branches/philikon-zope32-integration/lib/python/Products/SiteErrorLog/tests/testSiteErrorLog.py

-=-
Modified: Zope/branches/philikon-zope32-integration/lib/python/Products/SiteErrorLog/tests/testSiteErrorLog.py
===================================================================
--- Zope/branches/philikon-zope32-integration/lib/python/Products/SiteErrorLog/tests/testSiteErrorLog.py	2005-11-01 23:44:38 UTC (rev 39836)
+++ Zope/branches/philikon-zope32-integration/lib/python/Products/SiteErrorLog/tests/testSiteErrorLog.py	2005-11-01 23:54:35 UTC (rev 39837)
@@ -45,7 +45,10 @@
         self.assert_(self.app.__error_log__ == sel_ob)
 
         # Right now there should not be any entries in the log
-        self.assertEquals(len(sel_ob.getLogEntries()), 0)
+        # but if another test fails and leaves something in the
+        # log (which belongs to app , we get a spurious error here.
+        # There's no real point in testing this anyway.
+        #self.assertEquals(len(sel_ob.getLogEntries()), 0)
 
     def testSimpleException(self):
         # Grab the Site Error Log and make sure it's empty



More information about the Zope-Checkins mailing list