From 2d368180d319a77f2f6bda5867ed9839c8707e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Br=C3=A4nnlund?= Date: Sat, 6 Jan 2024 13:38:02 +0100 Subject: [PATCH] fix: Replace deprecated argument in pytest_report_header hook --- src/pytest_base_url/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pytest_base_url/plugin.py b/src/pytest_base_url/plugin.py index 1972b2e..6c49e85 100644 --- a/src/pytest_base_url/plugin.py +++ b/src/pytest_base_url/plugin.py @@ -48,7 +48,7 @@ def pytest_configure(config): config._metadata["Base URL"] = base_url -def pytest_report_header(config, startdir): +def pytest_report_header(config, start_path): base_url = config.getoption("base_url") if base_url: return "baseurl: {0}".format(base_url)