Skip to content
Snippets Groups Projects
Commit e235deff authored by Sebastian Lobinger's avatar Sebastian Lobinger
Browse files

correct misstake in test_sams_hub.py ln 251, 252 (test description) #14

parent c4f33b0f
No related branches found
No related tags found
1 merge request!8Resolve "Ändern der Sprache in ExampleApp muss in beiden Sprachen funtkionieren"
This commit is part of merge request !8. Comments created here will be created in the context of that merge request.
......@@ -248,7 +248,8 @@ class CaseMinimalSAMSHub(unittest.TestCase):
with hub.flaskApp.test_client(self) as client:
response = client.get('/test/hello')
self.assertIs(response.status_code, 200)
self.assertEquals(response.data.decode('utf-8'), langDict['hello'])
self.assertEquals(
response.data.decode('utf-8'), langDicts['de']['hello'])
def test_session_language_used(self):
"""use Session['language'] if possible"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment