Minimum viable product

This commit is contained in:
Punnamaraju Vinayaka Tejas 2023-07-11 14:09:54 +05:30
commit 40e347616f
24 changed files with 748 additions and 0 deletions

10
tests/test_factory.py Normal file
View file

@ -0,0 +1,10 @@
from flaskr import create_app
def test_config():
assert not create_app().testing
assert create_app({'TESTING': True}).testing
def test_hello(client):
response = client.get('/hello')
assert response.data == b'Hello, World!'