]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case
authorRoss Burton <ross.burton@arm.com>
Wed, 5 Jul 2023 10:50:01 +0000 (11:50 +0100)
committerSteve Sakoman <steve@sakoman.com>
Sun, 27 Aug 2023 16:30:22 +0000 (06:30 -1000)
commit2be0f2c62fb893f093091cbb30967f32f9d3165b
tree921e5fa587e0e3c47d4b76fe5cbe796a8d140d17
parentcdc671271327ca61e5321b8890921d08ecd8799d
oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case

str.format() doesn't use % notation, update the formatting to work.

assertTrue() is a member of self not a global, and assertTrue(True) will
always pass. Change this to just self.fail() as this is the failure case.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 017f3a0b1265c1a3b69c20bdb56bbf446111977e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/runtime/cases/rpm.py