1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 13:04:19 +00:00
pds-2021-g2-nest/code/backend/nest_backend/test/test_doa.py

10 lines
277 B
Python
Raw Normal View History

2021-05-07 17:46:14 +00:00
import pytest
from flask.testing import Client
from nest_backend.test.fixtures import flask_client
# noinspection PyShadowingNames
def test_doa(flask_client: Client):
response = flask_client.get("/doa")
assert b"If you see this, the server is fine." in response.data