mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-26 15:04:18 +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
|