mirror of https://github.com/tiangolo/fastapi.git
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
This commit is contained in:
parent
86a1706457
commit
e564d34318
|
|
@ -7,15 +7,13 @@ This test file follows the FastAPI test patterns and should be compatible
|
||||||
with the existing test suite.
|
with the existing test suite.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# Ensure compatibility across Python versions
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
|
|
||||||
from fastapi import Depends, FastAPI
|
from fastapi import Depends, FastAPI
|
||||||
from fastapi.testclient import TestClient
|
from fastapi.testclient import TestClient
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
|
||||||
# Ensure compatibility across Python versions
|
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
def test_query_method_basic():
|
def test_query_method_basic():
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue