We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 302d474 commit e89c013Copy full SHA for e89c013
tests/test_main.py
@@ -1,11 +1,11 @@
1
import pytest
2
from fastapi.testclient import TestClient
3
-from fastapp.main import fastapi_app
+from fastapp.main import app
4
5
6
@pytest.fixture(scope="module")
7
def client() -> TestClient:
8
- return TestClient(fastapi_app)
+ return TestClient(app)
9
10
11
@pytest.mark.parametrize("version", ("v1",))
0 commit comments