Commit e9480b29 authored by Tim Peters's avatar Tim Peters

test_ftp_factory: as was just done for test_fcgi_factory, fixed the

way it failed on Windows, only to uncover another way it fails on Windows.
parent f57229c5
...@@ -164,7 +164,7 @@ class ZServerConfigurationTestCase(BaseTest): ...@@ -164,7 +164,7 @@ class ZServerConfigurationTestCase(BaseTest):
""") """)
self.assert_(isinstance(factory, self.assert_(isinstance(factory,
ZServer.datatypes.FTPServerFactory)) ZServer.datatypes.FTPServerFactory))
self.assertEqual(factory.host, '') self.assertEqual(factory.host, DEFAULT_HOSTNAME)
self.assertEqual(factory.port, 84) self.assertEqual(factory.port, 84)
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