RODY/tests/test_tools.py

9 lines
173 B
Python
Raw Normal View History

2022-11-04 17:37:08 +08:00
from . import BaseTest
class TestAPIExample(BaseTest):
def test_ping_api(self, client):
resp = client.get('/api/ping')
assert resp.status_code == 200