File size: 353 Bytes
b380004
66760eb
 
 
 
 
 
 
 
 
 
 
 
 
b380004
66760eb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""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