Update test_app.py
Ghaymah Deploy / test (push) Successful in 11s
Ghaymah Deploy / build (push) Successful in 58s

This commit is contained in:
2025-10-13 13:19:24 +00:00
parent 7004dcac3c
commit 66dab3ac18
+6 -8
View File
@@ -1,10 +1,8 @@
from flask import Flask from app import app
app = Flask(__name__) def test_homepage():
@app.route('/') with app.test_client() as client:
def hello_world(): response = client.get('/')
return 'Hello, Worlddddddddddd!!!' assert response.status_code == 200
assert b"Hello, Worlddddddddddd!!!" in response.data
if __name__ == '__main__':
app.run(debug=True)