Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
59ea95df
Commit
59ea95df
authored
Aug 17, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: update testTemplateTool to support both subversion 1.6 and 1.8.
parent
313d8ad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
product/ERP5/tests/testTemplateTool.py
product/ERP5/tests/testTemplateTool.py
+19
-9
No files found.
product/ERP5/tests/testTemplateTool.py
View file @
59ea95df
...
@@ -134,15 +134,25 @@ class TestTemplateTool(ERP5TypeTestCase):
...
@@ -134,15 +134,25 @@ class TestTemplateTool(ERP5TypeTestCase):
"""
"""
Function used to trust in svn.erp5.org.
Function used to trust in svn.erp5.org.
"""
"""
trust_dict
=
dict
(
realm
=
"https://svn.erp5.org:443"
,
for
trust_dict
in
[
hostname
=
"roundcube.nexedi.com"
,
# for subversion 1.6
issuer_dname
=
"Nexedi SA, Marcq en Baroeul, Nord Pas de Calais, FR"
,
{
'failures'
:
8
,
valid_from
=
"Thu, 22 May 2008 13:43:01 GMT"
,
'finger_print'
:
'a1:f7:c6:bb:51:69:84:28:ac:58:af:9d:05:73:de:24:45:4d:a1:bb'
,
valid_until
=
"Sun, 20 May 2018 13:43:01 GMT"
,
'hostname'
:
'roundcube.nexedi.com'
,
finger_print
=
\
'issuer_dname'
:
'Nexedi SA, Marcq en Baroeul, Nord Pas de Calais, FR'
,
"a1:f7:c6:bb:51:69:84:28:ac:58:af:9d:05:73:de:24:45:4d:a1:bb"
,
'realm'
:
'https://svn.erp5.org:443'
,
failures
=
8
)
'valid_from'
:
'Thu, 22 May 2008 13:43:01 GMT'
,
getVcsTool
(
"svn"
).
__of__
(
self
.
portal
).
acceptSSLServer
(
trust_dict
)
'valid_until'
:
'Sun, 20 May 2018 13:43:01 GMT'
},
# for subversion 1.8
{
'failures'
:
8
,
'finger_print'
:
'A1:F7:C6:BB:51:69:84:28:AC:58:AF:9D:05:73:DE:24:45:4D:A1:BB'
,
'hostname'
:
'mail.nexedi.com'
,
'issuer_dname'
:
'Nexedi SA, Marcq en Baroeul, Nord Pas de Calais, FR(webmaster@nexedi.com)'
,
'realm'
:
'https://svn.erp5.org:443'
,
'valid_from'
:
'May 22 13:43:01 2008 GMT'
,
'valid_until'
:
'May 20 13:43:01 2018 GMT'
}
]:
getVcsTool
(
"svn"
).
__of__
(
self
.
portal
).
acceptSSLServer
(
trust_dict
)
def
test_download_svn
(
self
):
def
test_download_svn
(
self
):
# if the page looks like a svn repository, template tool will use pysvn to
# if the page looks like a svn repository, template tool will use pysvn to
...
...
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