Skip to content
LONGLINK
Overview
Introduction
Platform
Overview
Organizations
Solutions
Solutions
Overview
Environments
Routes
Storage
Database
Solution Views
Testing
Building
  1. >Documentation
  2. >Solutions
  3. >Testing
Get Started

Testing

Test your project with standard pytest(opens in new tab) and pytest-asyncio(opens in new tab) workflows.

bash
uv run pytest
uv run pytest tests/test_app.py -q

Usage

python
from main import app
from fastapi.testclient import TestClient
​
client = TestClient(app)
​
def test_healthcheck() -> None:
"""Return the LongLink runtime health payload."""
response = client.get("/health")
​
assert response.status_code == 200
Last updated: 7/10/2026Edit this page in GitHub(opens in new tab)
On this page
  • Testing
  • Usage