1
0
Fork 0
mirror of https://github.com/shouptech/flask-tutorial.git synced 2026-02-03 15:39:44 +00:00

Fix bad test

This commit is contained in:
Emma 2018-11-04 00:03:10 -06:00
parent 5b10dcacfa
commit 56db2ccd3f

View file

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