test pipeline 3
This commit is contained in:
parent
f3e38709d3
commit
a829588b51
@ -1,10 +1,10 @@
|
|||||||
from app import app
|
from app import app
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|
||||||
def test_hello():
|
def test_hello():
|
||||||
with app.test_client() as client:
|
with app.test_client() as client:
|
||||||
response = client.get('/')
|
response = client.get('/')
|
||||||
assert response.data == b'Hello, DevOps!'
|
assert response.data == b'Hello, DevOps!'
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user