9 lines
233 B
Python
9 lines
233 B
Python
from app import app
|
|
import pytest # noqa: F401
|
|
|
|
|
|
def test_hello():
|
|
with app.test_client() as client:
|
|
response = client.get('/')
|
|
assert response.data == b'Hello, DevOps!'
|
|
assert response.status_code == 200 |