Module: check_mk
Branch: master
Commit: 6481efc11ca7b5056aeb81967d5af538d0f94d75
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6481efc11ca7b5…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Thu Dec 1 16:01:31 2016 +0100
Added testcase for HTML refactoring.
---
tests/web/test_html.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/web/test_html.py b/tests/web/test_html.py
index 7acaf69..f73811b 100644
--- a/tests/web/test_html.py
+++ b/tests/web/test_html.py
@@ -46,6 +46,7 @@ def test_class_HTML():
assert isinstance(HTML() + "TEST", HTML)
assert isinstance("TEST" + HTML() + "TEST" , HTML)
+ assert "<div>" + HTML("content") + "</div>"
== "<div>content</div>"
A += B
assert isinstance(A, HTML), A