Skip to content

Commit 95db680

Browse files
JohnVillalovosnejch
authored andcommitted
chore: fix pytest deprecation
pytest has changed the function argument name to `start_path`
1 parent 0eb5eb0 commit 95db680

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/functional/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import time
77
import uuid
88
from subprocess import check_output
9-
from typing import Optional
9+
from typing import Optional, Sequence
1010

1111
import pytest
1212
import requests
@@ -145,7 +145,9 @@ def set_token(container: str, fixture_dir: pathlib.Path) -> str:
145145
return output
146146

147147

148-
def pytest_report_collectionfinish(config, startdir, items):
148+
def pytest_report_collectionfinish(
149+
config: pytest.Config, start_path: pathlib.Path, items: Sequence[pytest.Item]
150+
):
149151
return [
150152
"",
151153
"Starting GitLab container.",

0 commit comments

Comments
 (0)