mirror of
https://github.com/fuckpiracyshield/api.git
synced 2024-12-22 10:40:48 +01:00
15 lines
258 B
Python
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
|