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
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
Eugene Shen
erp5
Commits
55364f3d
Commit
55364f3d
authored
Oct 24, 2012
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5testnode: fixed undefined variable test_suite_reference
parent
d3d09e6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+5
-5
No files found.
erp5/util/testnode/testnode.py
View file @
55364f3d
...
@@ -72,15 +72,15 @@ class TestNode(object):
...
@@ -72,15 +72,15 @@ class TestNode(object):
def
updateConfigForTestSuite
(
self
,
test_suite_data
):
def
updateConfigForTestSuite
(
self
,
test_suite_data
):
config
=
self
.
config
config
=
self
.
config
config
[
"project_title"
]
=
test_suite_data
[
"project
-
title"
]
config
[
"project_title"
]
=
test_suite_data
[
"project
_
title"
]
config
[
"test_suite"
]
=
test_suite_data
[
"test
-
suite"
]
config
[
"test_suite"
]
=
test_suite_data
[
"test
_
suite"
]
config
[
"test_suite_title"
]
=
test_suite_data
[
"test
-suite-
title"
]
config
[
"test_suite_title"
]
=
test_suite_data
[
"test
_suite_
title"
]
config
[
"test_suite_reference"
]
=
test_suite_data
[
"test
-suite-
reference"
]
config
[
"test_suite_reference"
]
=
test_suite_data
[
"test
_suite_
reference"
]
try
:
try
:
config
[
"additional_bt5_repository_id"
]
=
test_suite_data
[
"additional-bt5-repository-id"
]
config
[
"additional_bt5_repository_id"
]
=
test_suite_data
[
"additional-bt5-repository-id"
]
except
KeyError
:
except
KeyError
:
pass
pass
config
[
"vcs_repository_list"
]
=
test_suite_data
[
"vcs
-repository-
list"
]
config
[
"vcs_repository_list"
]
=
test_suite_data
[
"vcs
_repository_
list"
]
config
[
'working_directory'
]
=
os
.
path
.
join
(
config
[
'slapos_directory'
],
config
[
'working_directory'
]
=
os
.
path
.
join
(
config
[
'slapos_directory'
],
config
[
'test_suite_reference'
])
config
[
'test_suite_reference'
])
if
not
(
os
.
path
.
exists
(
config
[
'working_directory'
])):
if
not
(
os
.
path
.
exists
(
config
[
'working_directory'
])):
...
...
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