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

add client test

parent 7c83f126
No related branches found
No related tags found
1 merge request!66Localization support
Pipeline #16597 failed
...@@ -8,3 +8,5 @@ def test_hello(client): ...@@ -8,3 +8,5 @@ def test_hello(client):
response = client.get('/hello', headers={'Accept-Language': 'en_US'}) response = client.get('/hello', headers={'Accept-Language': 'en_US'})
assert response.data == b'Hello, World!' assert response.data == b'Hello, World!'
def client(app):
return app.test_client()
\ 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