diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/case.py')
-rw-r--r-- | meta/lib/oeqa/runtime/case.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/case.py b/meta/lib/oeqa/runtime/case.py new file mode 100644 index 0000000000..f036982e1f --- /dev/null +++ b/meta/lib/oeqa/runtime/case.py @@ -0,0 +1,20 @@ +# +# Copyright (C) 2016 Intel Corporation +# +# SPDX-License-Identifier: MIT +# + +from oeqa.core.case import OETestCase +from oeqa.utils.package_manager import install_package, uninstall_package + +class OERuntimeTestCase(OETestCase): + # target instance set by OERuntimeTestLoader. + target = None + + def setUp(self): + super(OERuntimeTestCase, self).setUp() + install_package(self) + + def tearDown(self): + super(OERuntimeTestCase, self).tearDown() + uninstall_package(self) |