1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-28 15:34:20 +00:00
pds-2021-g2-nest/code/backend/nest_backend/test/test_doa.py
Annielated d48d1e0f3f fix
2021-05-08 17:02:53 +02:00

8 lines
263 B
Python

import pytest
from flask.testing import Client
# noinspection PyShadowingNames
def test_doa(flask_client: Client, admin_headers):
response = flask_client.get("/doa", headers=admin_headers)
assert b"If you see this, the server is fine." in response.data