mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 13:04:19 +00:00
10 lines
312 B
Python
10 lines
312 B
Python
import pytest
|
|
from flask.testing import Client
|
|
|
|
|
|
# noinspection PyShadowingNames
|
|
def test_doa(flask_client: Client, access_token: str):
|
|
response = flask_client.get("/doa", headers={
|
|
"Authorization": f"Bearer {access_token}",
|
|
})
|
|
assert b"If you see this, the server is fine." in response.data
|