From efe7bdacfcb5fc197755d752163bc023bbef34d6 Mon Sep 17 00:00:00 2001 From: Julia Hansbrough Date: Fri, 14 Feb 2014 17:18:49 +0000 Subject: [PATCH] Fixed broken acceptance tests --- common/test/acceptance/tests/test_lms.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common/test/acceptance/tests/test_lms.py b/common/test/acceptance/tests/test_lms.py index 25e1a4b2d8..efb63d73ae 100644 --- a/common/test/acceptance/tests/test_lms.py +++ b/common/test/acceptance/tests/test_lms.py @@ -84,19 +84,21 @@ class LanguageTest(UniqueCourseTest): self.test_new_lang = 'eo' # This string is unicode for "ÇÜRRÉNT ÇØÜRSÉS", which should appear in our Dummy Esperanto page - self.current_courses_text = u"\xc7\xdcRR\xc9NT \xc7\xd8\xdcRS\xc9S" + self.current_courses_text = u'\xc7\xdcRR\xc9NT \xc7\xd6\xdcRS\xc9S' + + self.username = "test" + self.password = "testpass" + self.email = "test@example.com" def test_change_lang(self): AutoAuthPage(self.browser, course_id=self.course_id).visit() self.dashboard_page.visit() # Change language to Dummy Esperanto self.dashboard_page.change_language(self.test_new_lang) - - self.browser.is_text_present(self.current_courses_text) self.assertTrue(self.browser.is_text_present(self.current_courses_text)) def test_language_persists(self): - auto_auth_page = AutoAuthPage(self.browser, course_id=self.course_id) + auto_auth_page = AutoAuthPage(self.browser, username=self.username, password=self.password, email=self.email, course_id=self.course_id) auto_auth_page.visit() self.dashboard_page.visit()