[test] (dirty) fix for unittest_apycot.py
authorDavid Douard <david.douard@logilab.fr>
Tue, 05 May 2015 11:11:26 +0200
changeset 1821 4f0e7bd313a2
parent 1820 c36a1a0ad3e8
child 1822 a7ea818d9ddb
[test] (dirty) fix for unittest_apycot.py should use regex there instead, or DOM analysis... bootstrap add classes on tables.
test/unittest_apycot.py
--- a/test/unittest_apycot.py	Mon May 04 11:58:51 2015 +0200
+++ b/test/unittest_apycot.py	Tue May 05 11:11:26 2015 +0200
@@ -71,7 +71,7 @@
         self.assertWellFormed(self.get_validator(content_type='application/xml'),
                               CW_NAMESPACE_DIV % log_html)
         for pattern, count in (
-                ('<table class="listing" id="">', 1),
+                ('<table class="listing', 1),
                 ('<tr class="logError"', 1),
                 ('<tr class="logFatal"', 1),
                 ('<tr class="logInfo"', 1),
@@ -97,7 +97,7 @@
         self.assertWellFormed(self.get_validator(content_type='application/xml'),
                               CW_NAMESPACE_DIV % log_html)
         for pattern, count in (
-                ('<table class="listing" id="">', 1),
+                ('<table class="listing', 1),
                 ('<tr class="logDebug"', 1),
                 ('<tr class="logInfo"', 1),
                 ('<tr class="logWarning"', 1),