Code Review
/
barometer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix test failure condition
[barometer.git]
/
baro_tests
/
collectd.py
diff --git
a/baro_tests/collectd.py
b/baro_tests/collectd.py
index
2723d32
..
922403f
100644
(file)
--- a/
baro_tests/collectd.py
+++ b/
baro_tests/collectd.py
@@
-867,7
+867,7
@@
def main(bt_logger=None):
compute_ids, plugin_labels, aodh_plugin_labels, results, out_plugins)
for res in results:
compute_ids, plugin_labels, aodh_plugin_labels, results, out_plugins)
for res in results:
- if
res[3] is 'False' or 'None'
:
+ if
not res[3]
:
logger.error('Some tests have failed or have not been executed')
logger.error('Overall Result is Fail')
return 1
logger.error('Some tests have failed or have not been executed')
logger.error('Overall Result is Fail')
return 1