Skip to content

Commit

Permalink
docs: Added comments on conftest about httpx pin
Browse files Browse the repository at this point in the history
  • Loading branch information
fg-mindee committed Oct 21, 2021
1 parent e7ed2c6 commit 22a4677
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ def mock_detection_image(tmpdir_factory):

@pytest.fixture(scope="function")
async def test_app_asyncio():
# for httpx>=20, follow_redirects=True (cf. https://github.com/encode/httpx/releases/tag/0.20.0)
async with AsyncClient(app=app, base_url="http://test") as ac:
yield ac # testing happens here

0 comments on commit 22a4677

Please sign in to comment.