From e235deff1f11da963b7cb2aec054da4c8ab98f6f Mon Sep 17 00:00:00 2001 From: Sebastian Lobinger <sebastian.lobinger@fu-berlin.de> Date: Fri, 2 Jun 2017 09:57:49 +0200 Subject: [PATCH] correct misstake in test_sams_hub.py ln 251, 252 (test description) #14 --- test/test_sams_hub.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_sams_hub.py b/test/test_sams_hub.py index 7750e46..20887a3 100644 --- a/test/test_sams_hub.py +++ b/test/test_sams_hub.py @@ -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""" -- GitLab