15 lines
335 B
Python
15 lines
335 B
Python
from fte.test.fixtures import app, client # noqa
|
|
|
|
|
|
def test_app_creates(app): # noqa
|
|
assert app
|
|
|
|
|
|
def test_app_healthy(app, client): # noqa
|
|
#with app.app_context():
|
|
with client:
|
|
resp = client.get('/health')
|
|
assert resp.status_code == 200
|
|
assert resp.is_json
|
|
assert resp.json == 'healthy'
|