Commit 0a3a7be4 authored by Florent Guillaume's avatar Florent Guillaume

Removed useless test that fails if some other failing test leaves

something in the error_log.
parent d20f88b5
...@@ -45,7 +45,10 @@ class SiteErrorLogTests(unittest.TestCase): ...@@ -45,7 +45,10 @@ class SiteErrorLogTests(unittest.TestCase):
self.assert_(self.app.__error_log__ == sel_ob) self.assert_(self.app.__error_log__ == sel_ob)
# Right now there should not be any entries in the log # 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): def testSimpleException(self):
# Grab the Site Error Log and make sure it's empty # Grab the Site Error Log and make sure it's empty
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment