changeset 5139:2b7f9e89e442

fix text/csv parser test to expect css classes in td
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 07 Sep 2009 13:47:42 +0200
parents d57cfa1a3724
children aff142620fdd
files MoinMoin/parser/_tests/test_text_csv.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/_tests/test_text_csv.py	Mon Sep 07 13:39:16 2009 +0200
+++ b/MoinMoin/parser/_tests/test_text_csv.py	Mon Sep 07 13:47:42 2009 +0200
@@ -47,7 +47,7 @@
     def testdelimiters(self):
         """ parser.text_csv: delimiter , """
         result = self.parse('a,b')
-        assert '<td><strong>a</strong></td>' in  result and '<td><strong>b</strong></td>' in  result
+        assert '<td class="hcolumn0"><strong>a</strong></td>' in  result and '<td class="hcolumn1"><strong>b</strong></td>' in  result
 
     def testemptyline(self):
         """ parser.text_csv: empty line """
@@ -57,7 +57,7 @@
     def testnodelimiter(self):
         """ parser.text_csv: line without delimiter """
         result = self.parse('ABCDEFGHIJ')
-        assert '<td><strong>ABCDEFGHIJ</strong></td>' in  result
+        assert '<td class="hcolumn0"><strong>ABCDEFGHIJ</strong></td>' in  result
 
 coverage_modules = ['MoinMoin.parser.text_csv']