Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a9491ef
)
Protect vs None when calling regex
45/60945/1
author
Cédric Ollivier
<cedric.ollivier@orange.com>
Tue, 14 Aug 2018 16:23:41 +0000
(18:23 +0200)
committer
Cédric Ollivier
<cedric.ollivier@orange.com>
Tue, 14 Aug 2018 16:23:41 +0000
(18:23 +0200)
Change-Id: I93d22442c28e674433234d7729838944962bdbe2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
xtesting/ci/tier_builder.py
patch
|
blob
|
history
diff --git
a/xtesting/ci/tier_builder.py
b/xtesting/ci/tier_builder.py
index
66ad325
..
67c5b08
100644
(file)
--- a/
xtesting/ci/tier_builder.py
+++ b/
xtesting/ci/tier_builder.py
@@
-63,7
+63,8
@@
class TierBuilder(object):
else:
for dependency in dic_testcase['dependencies']:
kenv = dependency.keys()[0]
- if not re.search(dependency[kenv], env.get(kenv)):
+ if not re.search(dependency[kenv],
+ env.get(kenv) or ''):
testcase.skipped = True
tier.skip_test(testcase)
break