api/tests/test_0001_health.py
2024-01-15 13:32:24 +01:00

15 lines
258 B
Python

import pytest
import requests
from base import get_request
class TestGeneral:
def test_ping(self):
"""
Check the API availability.
"""
response = get_request('/api/v1/ping')
assert response.status_code == 200