6c9c7fe7f3
CI / integration tests (3.13) (push) Failing after 1s
Commit lint / pull request title (push) Has been skipped
Docs / links (push) Failing after 1s
CI / unit tests (3.13) (push) Failing after 1s
CI / lint (push) Failing after 1s
CI / integration tests (push) Failing after 1s
CI / package build (push) Failing after 1s
Commit lint / commit messages (push) Failing after 1s
CI / unit tests (push) Failing after 1s
12 lines
352 B
Python
12 lines
352 B
Python
"""FastAPI metadata must stay aligned with package metadata."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from everos import __version__
|
|
from everos.entrypoints.api.app import create_app
|
|
|
|
|
|
def test_openapi_info_version_matches_package_version() -> None:
|
|
app = create_app(lifespan_providers=[])
|
|
assert app.openapi()["info"]["version"] == __version__
|