Skip to content

Commit

Permalink
fix(cli/consume): fix duplication of user-provided pytest flags (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz authored Oct 31, 2024
1 parent d1c60f0 commit 6538d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/pytest_commands/consume.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def handle_consume_command_flags(consume_args: List[str], is_hive: bool) -> List
args = list(handle_help_flags(consume_args, pytest_type="consume"))
args += ["-c", "pytest-consume.ini"]
if is_hive:
args += handle_hive_env_flags(args)
args = handle_hive_env_flags(args)
args += ["-p", "pytest_plugins.pytest_hive.pytest_hive"]
# Ensure stdout is captured when timing data is enabled.
if "--timing-data" in args and "-s" not in args:
Expand Down

0 comments on commit 6538d31

Please sign in to comment.