From: Ross Burton <[email protected]> assertTrue() is a member of self, not a global.
Signed-off-by: Ross Burton <[email protected]> --- meta/lib/oeqa/runtime/cases/rpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/rpm.py b/meta/lib/oeqa/runtime/cases/rpm.py index fa86eb05373..7ab71851b44 100644 --- a/meta/lib/oeqa/runtime/cases/rpm.py +++ b/meta/lib/oeqa/runtime/cases/rpm.py @@ -60,7 +60,7 @@ class RpmBasicTest(OERuntimeTestCase): time.sleep(1) user_pss = [ps for ps in output.split("\n") if u + ' ' in ps] msg = "There're %s 's process(es) still running: %s".format(u, "\n".join(user_pss)) - assertTrue(True, msg=msg) + self.assertTrue(True, msg=msg) def unset_up_test_user(u): # ensure no test1 process in running -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#183884): https://lists.openembedded.org/g/openembedded-core/message/183884 Mute This Topic: https://lists.openembedded.org/mt/99962465/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
