Skip to content

Commit 08c47fb

Browse files
committed
test(api): achieve 100% coverage for API module
1 parent e80fca2 commit 08c47fb

File tree

2 files changed

+414
-3
lines changed

2 files changed

+414
-3
lines changed

src/fastapi_api_key/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
try:
88
import fastapi # noqa: F401
99
import sqlalchemy # noqa: F401
10-
except ModuleNotFoundError as e:
10+
except ModuleNotFoundError as e: # pragma: no cover
1111
raise ImportError(
1212
"FastAPI and SQLAlchemy backend requires 'fastapi' and 'sqlalchemy'. "
1313
"Install it with: uv add fastapi_api_key[fastapi]"

0 commit comments

Comments
 (0)