diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-05-26 15:37:47 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-30 10:15:22 +0100 |
commit | 21df9f0f6d6272adc6131cdc113000a5e6ac9d46 (patch) | |
tree | 64644f6b7b9b59b1fe4e626b2c2f627166bc6aad | |
parent | b588c5c65e55a31d61c86553158eef409cd71086 (diff) | |
download | openembedded-core-21df9f0f6d6272adc6131cdc113000a5e6ac9d46.tar.gz openembedded-core-21df9f0f6d6272adc6131cdc113000a5e6ac9d46.tar.bz2 openembedded-core-21df9f0f6d6272adc6131cdc113000a5e6ac9d46.zip |
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 <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/runtime/case.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/runtime/case.py b/meta/lib/oeqa/runtime/case.py index c1485c9860..2f190acf15 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) |