Skip to content

Commit

Permalink
Update test_app and async_app_client fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason-Lin committed Jan 27, 2024
1 parent 66dfa67 commit 9b5ced0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

@pytest.fixture(scope="module")
def test_app():
client = TestClient(app, base_url="http://localhost:8080")
client = TestClient(app, base_url="http://localhost:8080/")
yield client


@pytest.fixture(scope="module")
def async_app_client():
client = AsyncClient(app=app, base_url="http://localhost:8080")
client = AsyncClient(app=app, base_url="http://localhost:8080/")
yield client

0 comments on commit 9b5ced0

Please sign in to comment.