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