From fdf72785c75b0ab19e83536ad5a4dab3228c33d4 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Wed, 30 Oct 2019 15:59:50 +0100 Subject: [PATCH] Set repo_dir Signed-off-by: Robert Baldyga --- test/functional/tests/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/functional/tests/conftest.py b/test/functional/tests/conftest.py index 7b45e3d..9ae61f6 100644 --- a/test/functional/tests/conftest.py +++ b/test/functional/tests/conftest.py @@ -72,7 +72,10 @@ def pytest_runtest_setup(item): if 'test_wrapper' in sys.modules: test_wrapper.try_setup_serial_log(dut_config) - TestRun.plugins['opencas'] = {'already_updated': False} + TestRun.plugins['opencas'] = { + 'repo_dir': os.path.join(os.path.dirname(__file__), "../../.."), + 'already_updated': False + } except Exception as e: TestRun.LOGGER.exception(f"{str(e)}\n{traceback.format_exc()}") TestRun.LOGGER.info(f"DUT info: {TestRun.dut}")