Ignore this, more problems with the same code block. Ross
> On 5 Jul 2023, at 11:50, Ross Burton via lists.openembedded.org > <ross.burton=arm....@lists.openembedded.org> wrote: > > From: Ross Burton <ross.bur...@arm.com> > > assertTrue() is a member of self, not a global. > > Signed-off-by: Ross Burton <ross.bur...@arm.com> > --- > 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 (#183885): https://lists.openembedded.org/g/openembedded-core/message/183885 Mute This Topic: https://lists.openembedded.org/mt/99962465/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-