From d928e5166d8812e7e20bc95c0a8b5cb5439ec497 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Wed, 25 Jan 2017 12:20:04 +0000 Subject: 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 --- meta/lib/oeqa/runtime/cases/connman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3