Commit 55c3f0f2 authored by Jan Kiene's avatar Jan Kiene
Browse files

add combiend format testv prep also for pytest

parent 6a02deda
Loading
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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):
    """
@@ -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):