Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caucase
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
Łukasz Nowak
caucase
Commits
78162dee
Commit
78162dee
authored
Oct 19, 2018
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Do not hardcode listening port in testHttpNetlocIPv6.
parent
5d8d9b77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
caucase/test.py
caucase/test.py
+7
-3
No files found.
caucase/test.py
View file @
78162dee
...
...
@@ -2565,8 +2565,12 @@ class CaucaseTest(unittest.TestCase):
self
.
_stopServer
()
os
.
unlink
(
self
.
_server_key
)
os
.
unlink
(
self
.
_server_db
)
self
.
_server_netloc
=
'[::1]:8000'
self
.
_caucase_url
=
'http://'
+
self
.
_server_netloc
netloc
=
'[::1]'
port
=
urlparse
.
urlparse
(
self
.
_caucase_url
).
port
if
port
:
netloc
+=
':%s'
%
port
self
.
_server_netloc
=
netloc
self
.
_caucase_url
=
'http://'
+
netloc
self
.
_startServer
()
user_key_path
=
self
.
_createFirstUser
()
service_key
=
self
.
_createAndApproveCertificate
(
...
...
@@ -2584,7 +2588,7 @@ class CaucaseTest(unittest.TestCase):
x509
.
CRLDistributionPoints
,
).
value
uri
,
=
distribution_point
.
full_name
self
.
assertEqual
(
uri
.
value
,
u'http://[::1]:8000
/cas/crl'
)
self
.
assertEqual
(
uri
.
value
,
self
.
_caucase_url
+
u'
/cas/crl'
)
def
testServerFilePermissions
(
self
):
"""
...
...
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