From 2e9dc4cf750a7ae18f87abd174aa7b5be40a7d37 Mon Sep 17 00:00:00 2001 From: Benedetta Delfino Date: Thu, 29 Feb 2024 10:38:05 +0000 Subject: fix: bugfix argparse e2e tests Argparse in the e2e tests was set up such that if the model name was specified after the backend, the model itself would be recognised as an invalid backend and the test skipped. Fixed this behavior Resolves: MLIA-1101 Signed-off-by: Benedetta Delfino Change-Id: I645992379adfcb13a72b946c713d5a0be429fca8 --- tests_e2e/test_e2e.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests_e2e/test_e2e.py b/tests_e2e/test_e2e.py index 2d8c375..602a653 100644 --- a/tests_e2e/test_e2e.py +++ b/tests_e2e/test_e2e.py @@ -254,7 +254,7 @@ def check_args(args: list[str], no_skip: bool) -> None: parser.add_argument( "--backend", help="Backends to use for evaluation.", - nargs="+", + action="append", ) parsed_args, _ = parser.parse_known_args(args) -- cgit v1.2.1