@@ -120,5 +120,9 @@ select = [
|
|||||||
"TCH" # flake8-type-checking
|
"TCH" # flake8-type-checking
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.ruff.lint.isort]
|
||||||
|
known-first-party = ["backend"]
|
||||||
|
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
|
||||||
|
|
||||||
[tool.ruff.lint.per-file-ignores]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"tests/*" = ["ARG", "S101"]
|
"tests/*" = ["ARG", "S101"]
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
"""Integration tests for API endpoints."""
|
"""Integration tests for API endpoints."""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from backend.main import app
|
|
||||||
from fastapi.testclient import TestClient
|
from fastapi.testclient import TestClient
|
||||||
|
|
||||||
|
from backend.main import app
|
||||||
|
|
||||||
client = TestClient(app)
|
client = TestClient(app)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user