Skip to content

Commit

Permalink
Try a bit more like the example
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog committed Oct 9, 2024
1 parent 5df2b8b commit 5a8e048
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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")
Expand Down

0 comments on commit 5a8e048

Please sign in to comment.