Module: check_mk
Branch: master
Commit: 91e994f8e8a6e0c129591268481511764f12b233
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=91e994f8e8a6e0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 23 10:10:46 2018 +0200
Fixed integration test GUI login after introducing new attribute
Change-Id: I650fa4c63a0ebce608508c65e928c78a334a0317
---
tests/testlib/__init__.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index dbb4262..9f317b0 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -1181,14 +1181,15 @@ class CMKWebSession(WebSession):
"filled_in" : "profile",
"_set_lang" : "on",
"ua_start_url_use": "0",
+ "ua_ui_theme_use": "0",
"language" : lang,
"_save" : "Save",
}, add_transid=True)
if lang == "":
- assert "Successfully updated" in r.text
+ assert "Successfully updated" in r.text, "Body: %s" %
r.text
else:
- assert "Benutzerprofil erfolgreich aktualisiert" in r.text
+ assert "Benutzerprofil erfolgreich aktualisiert" in r.text,
"Body: %s" % r.text
def logout(self):