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-06-02 13:36:14 +0100 |
commit | 9153e6dd165800898a1e3ed595d84e2540ec8284 (patch) | |
tree | 1ba60e9b7881669e5f99ed5d95dcf9f49e3fef2a /meta/lib/oeqa/runtime | |
parent | ead62f9a40ed418577c0f75012185d2552729a90 (diff) | |
download | poky-9153e6dd165800898a1e3ed595d84e2540ec8284.tar.gz |
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>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-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): | |||
8 | # target instance set by OERuntimeTestLoader. | 8 | # target instance set by OERuntimeTestLoader. |
9 | target = None | 9 | target = None |
10 | 10 | ||
11 | def _oeSetUp(self): | 11 | def setUp(self): |
12 | super(OERuntimeTestCase, self)._oeSetUp() | 12 | super(OERuntimeTestCase, self).setUp() |
13 | install_package(self) | 13 | install_package(self) |
14 | 14 | ||
15 | def _oeTearDown(self): | 15 | def tearDown(self): |
16 | super(OERuntimeTestCase, self)._oeTearDown() | 16 | super(OERuntimeTestCase, self).tearDown() |
17 | uninstall_package(self) | 17 | uninstall_package(self) |