From ffefcafe62549f9ae2e2fff051373f82aaa93067 Mon Sep 17 00:00:00 2001 From: danceratopz Date: Fri, 17 May 2024 17:18:37 +0300 Subject: [PATCH] fix(fw): fix extending pytest args when adding test pattern (#566) --- src/cli/pytest_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/pytest_commands.py b/src/cli/pytest_commands.py index 4abe565a0c..fdcd550084 100644 --- a/src/cli/pytest_commands.py +++ b/src/cli/pytest_commands.py @@ -154,7 +154,7 @@ def get_hive_flags_from_env(): test_pattern = os.getenv("HIVE_TEST_PATTERN") if test_pattern is not None: # TODO: Check that the regex is a valid pytest -k "test expression" - pytest_args.extend("-k", test_pattern) + pytest_args.extend(["-k", test_pattern]) random_seed = os.getenv("HIVE_RANDOM_SEED") if random_seed is not None: # TODO: implement random seed