Add tests for opencas.py
Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
15
test/utils_tests/opencas-py-tests/conftest.py
Normal file
15
test/utils_tests/opencas-py-tests/conftest.py
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# Copyright(c) 2012-2019 Intel Corporation
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
#
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
def pytest_configure(config):
|
||||
try:
|
||||
import helpers
|
||||
except ImportError:
|
||||
raise Exception("Couldn't import helpers")
|
||||
|
||||
sys.path.append(helpers.find_repo_root() + "/utils")
|
Reference in New Issue
Block a user