Skip to content

Commit ef7827a

Browse files
committed
fix(testing): restore original gitlab_url fixture in pytest-gitlab plugin
Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
1 parent 5e0756f commit ef7827a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/testing/fixtures/gitlab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def gitlab_docker_port(docker_services, gitlab_service_name: str) -> int:
6262

6363

6464
@pytest.fixture(scope="session")
65-
def gitlab_url() -> str:
66-
return "http://10.5.0.100/"
65+
def gitlab_url(docker_ip: str, gitlab_docker_port: int) -> str:
66+
return f"http://{docker_ip}:{gitlab_docker_port}"
6767

6868

6969
def reset_gitlab(gl: gitlab.Gitlab) -> None: # noqa C901

0 commit comments

Comments
 (0)