1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 16:59:22 +00:00

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.

(From OE-Core rev: 21df9f0f6d6272adc6131cdc113000a5e6ac9d46)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Aníbal Limón
2017-05-26 15:37:47 -05:00
committed by Richard Purdie
parent ead62f9a40
commit 9153e6dd16
+4 -4
View File
@@ -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)