Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | # Copyright (C) 2016 Intel Corporation |
| 2 | # Released under the MIT license (see COPYING.MIT) |
| 3 | |
| 4 | from oeqa.core.case import OETestCase |
| 5 | from oeqa.utils.package_manager import install_package, uninstall_package |
| 6 | |
| 7 | class OERuntimeTestCase(OETestCase): |
| 8 | # target instance set by OERuntimeTestLoader. |
| 9 | target = None |
| 10 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 11 | def setUp(self): |
| 12 | super(OERuntimeTestCase, self).setUp() |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 13 | install_package(self) |
| 14 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | def tearDown(self): |
| 16 | super(OERuntimeTestCase, self).tearDown() |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 17 | uninstall_package(self) |