From: Mariano Lopez Date: Wed, 25 Jan 2017 12:20:04 +0000 (+0000) Subject: runtime/cases/connman.py: Stop using oeRuntimeTest X-Git-Tag: uninative-1.5~521 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d928e5166d8812e7e20bc95c0a8b5cb5439ec497;p=openembedded-core.git runtime/cases/connman.py: Stop using oeRuntimeTest oeRuntimeTest class is not used anymore as part of runtime migration, this particular case was missed, so fix it. [YOCTO #10964] Signed-off-by: Mariano Lopez Signed-off-by: Ross Burton --- diff --git a/meta/lib/oeqa/runtime/cases/connman.py b/meta/lib/oeqa/runtime/cases/connman.py index 8b47108a37..12456b4172 100644 --- a/meta/lib/oeqa/runtime/cases/connman.py +++ b/meta/lib/oeqa/runtime/cases/connman.py @@ -6,7 +6,7 @@ from oeqa.runtime.decorator.package import OEHasPackage class ConnmanTest(OERuntimeTestCase): def service_status(self, service): - if oeRuntimeTest.hasFeature("systemd"): + if 'systemd' in self.tc.td['DISTRO_FEATURES']: (_, output) = self.target.run('systemctl status -l %s' % service) return output else: