diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/case.py')
| -rw-r--r-- | meta/lib/oeqa/runtime/case.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/case.py b/meta/lib/oeqa/runtime/case.py index 43f1b2f425..c1485c9860 100644 --- a/meta/lib/oeqa/runtime/case.py +++ b/meta/lib/oeqa/runtime/case.py | |||
| @@ -2,7 +2,16 @@ | |||
| 2 | # Released under the MIT license (see COPYING.MIT) | 2 | # Released under the MIT license (see COPYING.MIT) |
| 3 | 3 | ||
| 4 | from oeqa.core.case import OETestCase | 4 | from oeqa.core.case import OETestCase |
| 5 | from oeqa.utils.package_manager import install_package, uninstall_package | ||
| 5 | 6 | ||
| 6 | class OERuntimeTestCase(OETestCase): | 7 | class OERuntimeTestCase(OETestCase): |
| 7 | # target instance set by OERuntimeTestLoader. | 8 | # target instance set by OERuntimeTestLoader. |
| 8 | target = None | 9 | target = None |
| 10 | |||
| 11 | def _oeSetUp(self): | ||
| 12 | super(OERuntimeTestCase, self)._oeSetUp() | ||
| 13 | install_package(self) | ||
| 14 | |||
| 15 | def _oeTearDown(self): | ||
| 16 | super(OERuntimeTestCase, self)._oeTearDown() | ||
| 17 | uninstall_package(self) | ||
