Skip to content
Snippets Groups Projects
Commit 3a536b70 authored by Arno Wunderlich's avatar Arno Wunderlich
Browse files

added imports to fix test

parent f7f8e4af
Branches main
No related tags found
1 merge request!66Localization support
Pipeline #16601 failed
from tjts5901 import create_app
from tjts5901.conftests import client, app
def test_config():
assert not create_app().testing
......@@ -6,7 +8,4 @@ def test_config():
def test_hello(client):
response = client.get('/hello', headers={'Accept-Language': 'en_US'})
assert response.data == b'Hello, World!'
def client(app):
return app.test_client()
\ No newline at end of file
assert response.data == b'Hello, World!'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment