ya ustal
This commit is contained in:
parent
2e497c64b3
commit
57f20bd89c
2
app.py
2
app.py
@ -8,4 +8,4 @@ def hello():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(host='0.0.0.0', port=5000)
|
app.run(host='0.0.0.0', port=5000)
|
||||||
|
@ -6,4 +6,4 @@ 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