[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/ZServer/tests/test_clockserver.py Remove test which wasn't testing anything, but broke anyway.

Tres Seaver tseaver at palladion.com
Sat Sep 27 07:31:03 EDT 2008


Log message for revision 91556:
  Remove test which wasn't testing anything, but broke anyway.

Changed:
  U   Zope/branches/2.11/lib/python/ZServer/tests/test_clockserver.py

-=-
Modified: Zope/branches/2.11/lib/python/ZServer/tests/test_clockserver.py
===================================================================
--- Zope/branches/2.11/lib/python/ZServer/tests/test_clockserver.py	2008-09-27 11:29:55 UTC (rev 91555)
+++ Zope/branches/2.11/lib/python/ZServer/tests/test_clockserver.py	2008-09-27 11:31:03 UTC (rev 91556)
@@ -95,12 +95,7 @@
                                logger=logger)
         self.assertEqual(server.handle_write(), True)
 
-    def test_handle_error(self):
-        logger = DummyLogger()
-        server = self._makeOne(method='a', period=60, user='charlie',
-                               password='brown', host='localhost',
-                               logger=logger)
-        self.assertRaises(AssertionError, server.handle_error)
+    #def test_handle_error(self):  Can't be usefully tested
 
     def test_readable(self):
         logger = DummyLogger()



More information about the Zope-Checkins mailing list