Chattr / tests /test_app.py
MH0386's picture
Add HuggingFace sync
b380004 verified
raw
history blame contribute delete
353 Bytes
"""Contain tests for the application's HTTP endpoints."""
from os import getenv
from requests import Response, head
def test_app() -> None:
"""
Test the reachability of Chattr.
Returns:
None
"""
response: Response = head(getenv("CHATTR_URL", "http://localhost:7860/"), timeout=30)
assert response.status_code == 200