ya ustal
Some checks failed
CI Pipeline / lint (push) Successful in 6s
CI Pipeline / test (push) Successful in 6s
CI Pipeline / build (push) Failing after 5s

This commit is contained in:
Vladislav 2025-05-22 23:21:05 +03:00
parent 2e497c64b3
commit 57f20bd89c
2 changed files with 2 additions and 2 deletions

2
app.py
View File

@ -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)

View File

@ -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