[Zope-Checkins] SVN: Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_c Fix test breakage caused by a nonuptodate test_config in initial branch.

Chris McDonough chrism at plope.com
Wed Dec 21 11:02:44 EST 2005


Log message for revision 40961:
  Fix test breakage caused by a nonuptodate test_config in initial branch.
  

Changed:
  U   Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_clockserver.py
  U   Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_config.py

-=-
Modified: Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_clockserver.py
===================================================================
--- Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_clockserver.py	2005-12-21 15:47:40 UTC (rev 40960)
+++ Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_clockserver.py	2005-12-21 16:02:43 UTC (rev 40961)
@@ -117,7 +117,7 @@
         self.assertEqual(handler.arg, [])
         time.sleep(1.1) # allow timeslice to switch
         self.assertEqual(server.readable(), False)
-        self.assertEqual(handler.arg[0], 'Zope')
+        self.assertEqual(handler.arg[0], 'Zope2')
         from ZServer.HTTPResponse import HTTPResponse
         from ZPublisher.HTTPRequest import HTTPRequest
         self.assert_(isinstance(handler.arg[1], HTTPRequest))

Modified: Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_config.py
===================================================================
--- Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_config.py	2005-12-21 15:47:40 UTC (rev 40960)
+++ Zope/branches/chrism-clockserver-merge/lib/python/ZServer/tests/test_config.py	2005-12-21 16:02:43 UTC (rev 40961)
@@ -243,7 +243,6 @@
         self.assertEqual(factory.user, 'chrism')
         self.assertEqual(factory.password, '123')
         self.assertEqual(factory.hostheader, 'www.example.com')
-        self.check_prepare(factory)
         factory.create().close()
 
 



More information about the Zope-Checkins mailing list