diff options
Diffstat (limited to 'baro_tests')
-rw-r--r-- | baro_tests/collectd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baro_tests/collectd.py b/baro_tests/collectd.py index 2723d320..922403f1 100644 --- 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: - 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 |