Initial Flask demo

This commit is contained in:
Galyaviev Ruslan
2025-09-01 10:54:35 +03:00
commit 646f36716d
13 changed files with 125 additions and 0 deletions

11
tests/test_app.py Normal file
View File

@@ -0,0 +1,11 @@
from app import app
def test_home_status():
client = app.test_client()
r = client.get("/")
assert r.status_code == 200
def test_home_text():
client = app.test_client()
r = client.get("/")
assert b"Flask CI/CD demo" in r.data