xref: /openbmc/openbmc/poky/meta/lib/oeqa/runtime/case.py (revision c342db35)
1#
2# Copyright (C) 2016 Intel Corporation
3#
4# SPDX-License-Identifier: MIT
5#
6
7from oeqa.core.case import OETestCase
8from oeqa.utils.package_manager import install_package, uninstall_package
9
10class OERuntimeTestCase(OETestCase):
11    # target instance set by OERuntimeTestLoader.
12    target = None
13
14    def setUp(self):
15        super(OERuntimeTestCase, self).setUp()
16        install_package(self)
17
18    def tearDown(self):
19        super(OERuntimeTestCase, self).tearDown()
20        uninstall_package(self)
21