From 09ecc5c8acb758e8def33155feb746a34dd7b560 Mon Sep 17 00:00:00 2001 From: Annie Tallund Date: Wed, 14 Dec 2022 15:55:19 +0100 Subject: MLIA-590 Support path to custom target profiles - Start using TOML format for target profile - Add support for loading custom target profile files Change-Id: I6be019d4341e93115440ccdbdb6dafdc1c85b966 --- tests_e2e/test_e2e.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests_e2e') diff --git a/tests_e2e/test_e2e.py b/tests_e2e/test_e2e.py index 4de640b..546bd7e 100644 --- a/tests_e2e/test_e2e.py +++ b/tests_e2e/test_e2e.py @@ -24,7 +24,7 @@ from mlia.cli.config import get_available_backends from mlia.cli.main import get_commands from mlia.cli.main import get_possible_command_names from mlia.cli.main import init_parser -from mlia.utils.filesystem import get_supported_profile_names +from mlia.utils.filesystem import get_builtin_supported_profile_names from mlia.utils.types import is_list_of @@ -175,7 +175,7 @@ def resolve(params: list[str]) -> Generator[list[str], None, None]: if prev == "--target-profile" and param == "*": resolved = ( replace_element(params, idx, profile) - for profile in get_supported_profile_names() + for profile in get_builtin_supported_profile_names() ) elif param.startswith("e2e_config") and ( filenames := glob.glob(f"{Path.cwd()}/{param}", recursive=True) -- cgit v1.2.1