Skip to content

Commit 92398b1

Browse files
authored
Merge pull request #40 from BeyondEvil/beyondevil/fix-deprecated-hook
fix: Replace deprecated argument in pytest_report_header hook
2 parents bf264b8 + 2d36818 commit 92398b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_base_url/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def pytest_configure(config):
4848
config._metadata["Base URL"] = base_url
4949

5050

51-
def pytest_report_header(config, startdir):
51+
def pytest_report_header(config, start_path):
5252
base_url = config.getoption("base_url")
5353
if base_url:
5454
return "baseurl: {0}".format(base_url)

0 commit comments

Comments
 (0)