diff options
author | Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp> | 2018-07-25 09:40:31 +0000 |
---|---|---|
committer | Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp> | 2018-07-27 09:52:39 +0000 |
commit | 4c1b6b2ea5cafcb07207ca07eb589fe34a6e5dd5 (patch) | |
tree | e8240ac65de4ffea145df5dbf2851582dd6f3df8 /baro_tests/local_agent.py | |
parent | 43d091ddcc32e8a89cb331c3f14e3a15dcd5325f (diff) |
Fix test failure condition
* Because the type of the variable res[3] is bool,
we should not compare it with a string.
* The expression "or 'None'" is always the same result,
because 'None' is a constant value.
It should be included in the comparison.
Change-Id: I25defad98d612d21027218438ca2a28744292cf5
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
Diffstat (limited to 'baro_tests/local_agent.py')
0 files changed, 0 insertions, 0 deletions