summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/case.py
blob: 2f190acf1519186091c3bd6551e361c43ae96fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.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)