Skip to content

Commit

Permalink
fix(fw): fix extending pytest args when adding test pattern (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz authored May 17, 2024
1 parent 9ec6010 commit ffefcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/pytest_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ffefcaf

Please sign in to comment.