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 authored and Richard Purdie committed 2017-06-02 13:36:14 +01:00
1 parent ead62f9a40
commit 9153e6dd16
1 file changed
+4 -4
+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)