changeset 4411:d01b3a866eb6

tests: remove duplicate test, adapt tests to new highlight parser output
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 02 Nov 2008 04:14:50 +0100
parents b1116a99d62b
children 200fe4447009
files MoinMoin/parser/_tests/test_text_creole.py MoinMoin/parser/_tests/test_text_moin_wiki.py
diffstat 2 files changed, 2 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/_tests/test_text_creole.py	Sun Nov 02 02:15:55 2008 +0100
+++ b/MoinMoin/parser/_tests/test_text_creole.py	Sun Nov 02 04:14:50 2008 +0100
@@ -302,20 +302,7 @@
 }}}"""
         output = self.parse(raw)
         output = ''.join(output)
-        assert "r'{{{This is some nested text}}}'" in output
-
-    def testColorizedPythonParserAndNestingPreBracketsWithLinebreak(self):
-        """ tests nested {{{ }}} for the python colorized parser
-        """
-
-        raw = """{{{
-#!python
-import re
-pattern = re.compile(r'{{{This is some nested text}}}')
-}}}"""
-        output = self.parse(raw)
-        output = ''.join(output)
-        assert "r'{{{This is some nested text}}}'" in output
+        assert "{{{This is some nested text}}}" in output
 
     def testNestingPreBracketsWithLinebreak(self):
         """ tests nested {{{ }}} for the wiki parser
--- a/MoinMoin/parser/_tests/test_text_moin_wiki.py	Sun Nov 02 02:15:55 2008 +0100
+++ b/MoinMoin/parser/_tests/test_text_moin_wiki.py	Sun Nov 02 04:14:50 2008 +0100
@@ -441,7 +441,7 @@
 }}}}"""
         output = self.parse(raw)
         output = ''.join(output)
-        assert "r'{{{This is some nested text}}}'" in output
+        assert "{{{This is some nested text}}}" in output
 
     def testNestingPreBrackets(self):
         """ tests nested {{{ }}} for the wiki parser