Loading tests/conftest.py +13 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,12 @@ import tempfile logger = logging.getLogger(__name__) USE_LOGGER_FOR_DBG = False # current tests do not make use of the logger feature HERE = Path(__file__).parent SCRIPTS_DIR = str(HERE.parent.joinpath("scripts").absolute()) import sys sys.path.append(SCRIPTS_DIR) import prepare_combined_format_inputs def log_dbg_msg(message): """ Loading Loading @@ -175,6 +181,13 @@ def update_ref(request): """ return int(request.config.getoption("--update_ref")) @pytest.fixture(scope="session", autouse=True) def create_combined_formats_testvectors(request): """ Create input stv files for the combined formats if missing """ prepare_combined_format_inputs.main() @pytest.fixture(scope="session", autouse=True) def get_mld(request): Loading Loading
tests/conftest.py +13 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,12 @@ import tempfile logger = logging.getLogger(__name__) USE_LOGGER_FOR_DBG = False # current tests do not make use of the logger feature HERE = Path(__file__).parent SCRIPTS_DIR = str(HERE.parent.joinpath("scripts").absolute()) import sys sys.path.append(SCRIPTS_DIR) import prepare_combined_format_inputs def log_dbg_msg(message): """ Loading Loading @@ -175,6 +181,13 @@ def update_ref(request): """ return int(request.config.getoption("--update_ref")) @pytest.fixture(scope="session", autouse=True) def create_combined_formats_testvectors(request): """ Create input stv files for the combined formats if missing """ prepare_combined_format_inputs.main() @pytest.fixture(scope="session", autouse=True) def get_mld(request): Loading