From 5a8e048cfb5fb6619469ecca1751e80fd2adf5d2 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 9 Oct 2024 08:45:37 -0700 Subject: [PATCH] Try a bit more like the example --- tests/conftest.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 694e424..58a70f1 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -9,11 +9,6 @@ @pytest.fixture(scope="session") def tika_host(docker_services, docker_ip) -> str: - return f"http://{docker_ip}:{docker_services.port_for('tika', 9998)}" - - -@pytest.fixture(scope="session") -def _tika_service(docker_services, tika_host: str) -> None: def is_responsive(url): import httpx @@ -29,6 +24,7 @@ def is_responsive(url): pause=0.1, check=lambda: is_responsive(tika_host), ) + return f"http://{docker_ip}:{docker_services.port_for('tika', 9998)}" @pytest.fixture(scope="session")