Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1ba9b
)
bug fix: do not crash if there is no test base defined in a project
author
Serge Rehbinder
<serge.rehbinder@cea.fr>
Tue, 20 Sep 2016 08:53:08 +0000
(10:53 +0200)
committer
Serge Rehbinder
<serge.rehbinder@cea.fr>
Tue, 20 Sep 2016 08:53:08 +0000
(10:53 +0200)
src/test_module.py
patch
|
blob
|
history
diff --git
a/src/test_module.py
b/src/test_module.py
index 2d0c08de0aa99d3b15acde25abf048c055d903d7..9a8dc5d1e7b5c14b0e0102b76cf50eab6d94aa5f 100644
(file)
--- a/
src/test_module.py
+++ b/
src/test_module.py
@@
-210,6
+210,8
@@
class Test:
test_base_info = None
for project_name in self.config.PROJECTS.projects:
project_info = self.config.PROJECTS.projects[project_name]
+ if "test_bases" not in project_info:
+ continue
for t_b_info in project_info.test_bases:
if t_b_info.name == test_base_name:
test_base_info = t_b_info