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:
parent
5b10dcacfa
commit
56db2ccd3f
1 changed files with 0 additions and 5 deletions
|
|
@ -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!'
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue