Skip to content

Commit d862c78

Browse files
committed
set in app
1 parent 82a2af4 commit d862c78

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stac_fastapi/tests/conftest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ def bulk_txn_client():
204204

205205
@pytest_asyncio.fixture(scope="session")
206206
async def app():
207+
os.environ["ENABLE_COLLECTIONS_SEARCH_ROUTE"] = "true"
207208
return StacApi(**app_config).app
208209

209210

@@ -315,9 +316,6 @@ def must_be_bob(
315316
@pytest_asyncio.fixture(scope="session")
316317
async def route_dependencies_app():
317318
"""Fixture to get the FastAPI app with custom route dependencies."""
318-
319-
os.environ["ENABLE_COLLECTIONS_SEARCH_ROUTE"] = "true"
320-
321319
# Create a copy of the app config
322320
test_config = app_config.copy()
323321

0 commit comments

Comments
 (0)