This commit is contained in:
parent
2227554977
commit
6ead97eee0
@ -8,7 +8,7 @@ def client():
|
||||
current_app.config['TESTING'] = True
|
||||
|
||||
with current_app.test_client() as client:
|
||||
yield
|
||||
yield client
|
||||
|
||||
def test_response_length(client):
|
||||
r = client.post('/log')
|
||||
|
@ -8,7 +8,7 @@ def client():
|
||||
current_app.config['TESTING'] = True
|
||||
|
||||
with current_app.test_client() as client:
|
||||
yield
|
||||
yield client
|
||||
|
||||
def test_log_code_get(client):
|
||||
r = client.get('/log')
|
||||
|
Reference in New Issue
Block a user