8 lines
218 B
Python
8 lines
218 B
Python
![]() |
from app import app
|
||
|
import pytest
|
||
|
|
||
|
def test_hello():
|
||
|
with app.test_client() as client:
|
||
|
response = client.get('/')
|
||
|
assert response.data == b'Hello, DevOps!'
|
||
|
assert response.status_code == 200
|