Skip to content

Commit

Permalink
Fix (intermittant?) bug in httpd fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
dmannarino committed Dec 16, 2024
1 parent f57c827 commit 7489662
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def httpd():
t.join()


@pytest.fixture(autouse=True)
@pytest.fixture(autouse=True, scope="function")
def flush_request_list(httpd):
"""Delete request cache before every test."""
_ = httpx.delete(f"http://localhost:{httpd.server_port}")
Expand Down
2 changes: 1 addition & 1 deletion tests/routes/datasets/test_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ async def test_version_post_append(async_client: AsyncClient):

@pytest.mark.hanging
@pytest.mark.asyncio
async def test_version_put_raster_bug_fixes(async_client: AsyncClient):
async def test_version_put_raster_bug_fixes(async_client: AsyncClient, httpd):
"""Test bug fixes for raster source version operations."""

dataset = "test_version_put_raster_minimal_args"
Expand Down

0 comments on commit 7489662

Please sign in to comment.