diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-18 13:38:36 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-10-18 05:25:19 -1000 |
commit | 5bad01b1befe38ce3e3e4dbf851a799be9f1b087 (patch) | |
tree | 874074aabf32f0d58e6fbcb560c898eaa6fa9581 /scripts/pybootchartgui/pybootchartgui.py | |
parent | 629f043c8f1e066bf0e2c0548a0882b301a9a636 (diff) | |
download | poky-5bad01b1befe38ce3e3e4dbf851a799be9f1b087.tar.gz |
oeqa/selftest/wic: Improve assertTrue calls
assertTrue is a problematic call use in test cases since when it fails,
you just get an unhelpful "False is not True" message.
Replace some uses with assertIn/assertNotIn which will give more helpful results
and for the rest, add msg entries which given more helpful debugging.
For example, this patch would help debugging of #15176.
(From OE-Core rev: 52a2455ba7d91d404fc2c4568c805cf1fbe2b2ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 35d4c39e0df1a304f557471151a03d1e4b0f30c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui.py')
0 files changed, 0 insertions, 0 deletions