case.py 501 B

1234567891011121314151617181920
  1. #
  2. # Copyright (C) 2016 Intel Corporation
  3. #
  4. # SPDX-License-Identifier: MIT
  5. #
  6. from oeqa.core.case import OETestCase
  7. from oeqa.utils.package_manager import install_package, uninstall_package
  8. class OERuntimeTestCase(OETestCase):
  9. # target instance set by OERuntimeTestLoader.
  10. target = None
  11. def setUp(self):
  12. super(OERuntimeTestCase, self).setUp()
  13. install_package(self)
  14. def tearDown(self):
  15. super(OERuntimeTestCase, self).tearDown()
  16. uninstall_package(self)