Added automated test coverage
This commit is contained in:
11
tests/test_app.py
Normal file
11
tests/test_app.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from app import app
|
||||
|
||||
def test_basic():
|
||||
assert True
|
||||
|
||||
def test_homepage():
|
||||
client = app.test_client()
|
||||
|
||||
response = client.get("/")
|
||||
|
||||
assert response.status_code == 200
|
||||
Reference in New Issue
Block a user