You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
304 B
13 lines
304 B
6 years ago
|
from officehelper import create_app
|
||
|
|
||
|
|
||
|
def test_config():
|
||
|
"""Test create_app without passing 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!'
|