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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
6e7b6a17
Commit
6e7b6a17
authored
Aug 28, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testnode: add ignore-ssl-certificate option in software.cfg
parent
3f565f87
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
erp5/tests/testERP5TestNode.py
erp5/tests/testERP5TestNode.py
+6
-2
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+1
-0
No files found.
erp5/tests/testERP5TestNode.py
View file @
6e7b6a17
...
@@ -243,10 +243,14 @@ branch = foo
...
@@ -243,10 +243,14 @@ branch = foo
extends = %(temp_dir)s/testnode/foo/rep0/software.cfg
extends = %(temp_dir)s/testnode/foo/rep0/software.cfg
[rep1]
[rep1]
repository = <obfuscated_url>/rep1
repository = <obfuscated_url>/rep1/rep1.git
branch = master
ignore-ssl-certificate = true
[rep2]
[rep2]
repository = <obfuscated_url>/rep2
repository = <obfuscated_url>/rep2/rep2.git
branch = foo
ignore-ssl-certificate = true
"""
%
{
'temp_dir'
:
self
.
_temp_dir
,
'revision1'
:
revision1
,
'revision2'
:
revision2
}
"""
%
{
'temp_dir'
:
self
.
_temp_dir
,
'revision1'
:
revision1
,
'revision2'
:
revision2
}
self
.
assertEquals
(
expected_profile
,
profile
.
read
())
self
.
assertEquals
(
expected_profile
,
profile
.
read
())
profile
.
close
()
profile
.
close
()
...
...
erp5/util/testnode/testnode.py
View file @
6e7b6a17
...
@@ -168,6 +168,7 @@ extends = %(software_config_path)s
...
@@ -168,6 +168,7 @@ extends = %(software_config_path)s
[%(buildout_section_id)s]
[%(buildout_section_id)s]
repository = <obfuscated_url>/%(buildout_section_id)s/%(buildout_section_id)s.git
repository = <obfuscated_url>/%(buildout_section_id)s/%(buildout_section_id)s.git
branch = %(branch)s
branch = %(branch)s
ignore-ssl-certificate = true
"""
%
{
'buildout_section_id'
:
buildout_section_id
,
"""
%
{
'buildout_section_id'
:
buildout_section_id
,
'branch'
:
vcs_repository
.
get
(
'branch'
,
'master'
)})
'branch'
:
vcs_repository
.
get
(
'branch'
,
'master'
)})
else
:
else
:
...
...
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