Commit 9c3c3a9d authored by Jens Vagelpohl's avatar Jens Vagelpohl Committed by GitHub

Merge branch '2.13' into plone-hotfix20171128-redirect-213

parents 09edf4ee d23aecf4
......@@ -10,6 +10,8 @@ http://docs.zope.org/zope2/
- Made Redirect unavailable as url. Part of PloneHotfix20171128.
- Skip IPv6 tests on Travis, as it is not supported.
- add ``tox`` test configuration
- set explicit PyPI index, the old ``zc.buildout`` defaults no longer work
......
......@@ -145,11 +145,17 @@ class ZServerConfigurationTestCase(BaseTest, WarningInterceptor):
self.assertEqual(factory.host, "::1")
self.assertEqual(factory.port, 81)
self.check_prepare(factory)
# Until here the test works on Travis, but ipv6 is not available
# there anymore, so we skip the rest of the test.
# See https://github.com/zopefoundation/Zope/issues/46
if os.environ.get('TRAVIS'):
print('Skipping ipv6 test on Travis.')
return
server = factory.create()
self.assertEqual(server.ip, '::1')
self.assertEqual(server.port, 9381)
server.close()
def test_http_factory_defaulthost(self):
factory = self.load_factory("""\
<http-server>
......
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