api/tests/test_0001_health.py

16 lines
258 B
Python
Raw Normal View History

2024-01-15 13:32:24 +01:00
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