From: Aníbal Limón Date: Fri, 26 May 2017 20:37:47 +0000 (-0500) Subject: oeqa/runtime/case: Don't use OEQA framework internal methods X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~21273 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21df9f0f6d6272adc6131cdc113000a5e6ac9d46;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/runtime/case: Don't use OEQA framework internal methods The OEQA framework has internal methods for provide functionality in decorators so Test components aren't expected to override it. Use the base unittest methods for setUp and tearDown. Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/runtime/case.py b/meta/lib/oeqa/runtime/case.py index c1485c98600..2f190acf151 100644 --- a/meta/lib/oeqa/runtime/case.py +++ b/meta/lib/oeqa/runtime/case.py @@ -8,10 +8,10 @@ class OERuntimeTestCase(OETestCase): # target instance set by OERuntimeTestLoader. target = None - def _oeSetUp(self): - super(OERuntimeTestCase, self)._oeSetUp() + def setUp(self): + super(OERuntimeTestCase, self).setUp() install_package(self) - def _oeTearDown(self): - super(OERuntimeTestCase, self)._oeTearDown() + def tearDown(self): + super(OERuntimeTestCase, self).tearDown() uninstall_package(self)