Skip to content

Commit 843178f

Browse files
committed
fix(test): fix path where consume puts its metadata
1 parent 2a6f9ee commit 843178f

File tree

1 file changed

+4
-1
lines changed
  • packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume

1 file changed

+4
-1
lines changed

packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/consume.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,10 @@ def pytest_configure(config: pytest.Config) -> None: # noqa: D103
533533
and config.getoption("htmlpath") is None
534534
):
535535
# generate an html report by default, unless explicitly disabled
536-
config.option.htmlpath = Path(default_html_report_file_path())
536+
config.option.htmlpath = (
537+
config.fixtures_source.path # type: ignore[attr-defined]
538+
/ default_html_report_file_path()
539+
)
537540

538541

539542
def pytest_html_report_title(report: Any) -> None:

0 commit comments

Comments
 (0)