Module: check_mk
Branch: master
Commit: f93127de957be957928b7d64884a6b7756e3ea49
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f93127de957be9…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Thu Dec 15 14:07:10 2016 +0100
Autotest: enriched constants.
Change-Id: I0526517a6b85131412e21dfad00f345ec9dd07a9
---
tests/web/auto_build_test.py | 58 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/tests/web/auto_build_test.py b/tests/web/auto_build_test.py
index d236741..ac99e4e 100644
--- a/tests/web/auto_build_test.py
+++ b/tests/web/auto_build_test.py
@@ -30,6 +30,64 @@ from bs4 import BeautifulSoup as bs
# internal imports
from classes import HTMLOrigTester, HTMLCheck_MKTester
from tools import compare_html, gentest, compare_and_empty
+
+_ = lambda x: x
+
+title = "title"
+key = "key"
+name = "name"
+vp = "vp"
+varprefix = "varprefix"
+prefix = "prefix"
+css = "css"
+cls = "cls"
+disp = "disp"
+sel = "selected"
+div_id = "div1"
+
+_vertical = "vertical"
+_delete_style = "filter"
+_label = "label"
+_empty_text = "empty text"
+_no_elements_text = _empty_text
+_columns = 5
+_size = 10
+
+select_func = "selector"
+unselect_func = "unselector"
+active_category = "active_category"
+category_name = "active_category"
+category_alias = "active_alias"
+
+div_is_open = True
+visible = True
+oneline = True
+
+mod = 2
+nr = 1
+indent = 10
+display_off = "none"
+display_on = "row"
+
+classes = ["cls1", "cls2"]$
+#onclick = "onclick_code('<lol>');"$
+onclick = "onclick_code('lol');"$
+title = "Title"$
+thclass = "th"$
+tdclass = "th"$
+content = "<tag> content </tag>"$
+tdattrs= "class='tdclass'"$
+is_open = True$
+option = "option"$
+icon = "icon"$
+value = "Testvalue"$
+view = {"name": "viewname"}$
+choices = ["c1", "c2"]$
+hidden = True$
+id = "id"$
+e = "error"$
+query = "Hallo \n Welt!"$
+
'''
function_start = lambda x: '''