Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9c3c3a9d
Commit
9c3c3a9d
authored
Dec 01, 2017
by
Jens Vagelpohl
Committed by
GitHub
Dec 01, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.13' into plone-hotfix20171128-redirect-213
parents
09edf4ee
d23aecf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/ZServer/tests/test_config.py
src/ZServer/tests/test_config.py
+7
-1
No files found.
doc/CHANGES.rst
View file @
9c3c3a9d
...
...
@@ -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
...
...
src/ZServer/tests/test_config.py
View file @
9c3c3a9d
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment