Commit 0e4c6237 authored by Tim Peters's avatar Tim Peters

test_webdav_factory, test_icp_factory: two more that failed on Windows,

and still fail, but later now.
parent b0170e69
...@@ -117,7 +117,7 @@ class ZServerConfigurationTestCase(BaseTest): ...@@ -117,7 +117,7 @@ class ZServerConfigurationTestCase(BaseTest):
self.assert_(isinstance(factory, self.assert_(isinstance(factory,
ZServer.datatypes.WebDAVSourceServerFactory)) ZServer.datatypes.WebDAVSourceServerFactory))
self.assert_(factory.force_connection_close) self.assert_(factory.force_connection_close)
self.assertEqual(factory.host, '') self.assertEqual(factory.host, DEFAULT_HOSTNAME)
self.assertEqual(factory.port, 82) self.assertEqual(factory.port, 82)
self.check_prepare(factory) self.check_prepare(factory)
server = factory.create() server = factory.create()
...@@ -177,7 +177,7 @@ class ZServerConfigurationTestCase(BaseTest): ...@@ -177,7 +177,7 @@ class ZServerConfigurationTestCase(BaseTest):
""") """)
self.assert_(isinstance(factory, self.assert_(isinstance(factory,
ZServer.datatypes.ICPServerFactory)) ZServer.datatypes.ICPServerFactory))
self.assertEqual(factory.host, '') self.assertEqual(factory.host, DEFAULT_HOSTNAME)
self.assertEqual(factory.port, 86) self.assertEqual(factory.port, 86)
self.check_prepare(factory) self.check_prepare(factory)
factory.create().close() factory.create().close()
......
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