From ffb671c61a24a9086343b54bad080e145ff33fc5 Mon Sep 17 00:00:00 2001 From: Dererk Date: Tue, 15 Nov 2016 14:18:46 -0300 Subject: New upstream version 7.8.1 --- tests/test_compile_markdown.py | 49 +++--------------------------------------- 1 file changed, 3 insertions(+), 46 deletions(-) (limited to 'tests/test_compile_markdown.py') diff --git a/tests/test_compile_markdown.py b/tests/test_compile_markdown.py index 2275b04..99f44fd 100644 --- a/tests/test_compile_markdown.py +++ b/tests/test_compile_markdown.py @@ -52,7 +52,7 @@ class CompileMarkdownTests(BaseTestCase): expected_output = '''\
\
1
\ -
\
+
\
 from this
 
@@ -62,54 +62,11 @@ class CompileMarkdownTests(BaseTestCase): self.assertEquals(actual_output.strip(), expected_output.strip()) def test_compile_strikethrough(self): - input_str = '~~strik text~~' - expected_output = '

strik text

' + input_str = '~~striked out text~~' + expected_output = '

striked out text

' actual_output = self.compile(input_str) self.assertEquals(actual_output.strip(), expected_output.strip()) - def test_compile_html_gist(self): - input_str = '''\ -Here's a gist file inline: -[:gist: 4747847 zen.py] - -Cool, eh? -''' - expected_output = '''\ -

Here's a gist file inline: -

- - -
-

-

Cool, eh?

-''' - actual_output = self.compile(input_str) - self.assertEquals(actual_output.strip(), expected_output.strip()) - - def test_compile_html_gist_2(self): - input_str = '''\ -Here's a gist file inline, using reStructuredText syntax: -..gist:: 4747847 zen.py - -Cool, eh? -''' - expected_output = '''\ -

Here's a gist file inline, using reStructuredText syntax: -

- - -
-

-

Cool, eh?

-''' - actual_output = self.compile(input_str) - self.assertEquals(actual_output.strip(), expected_output.strip()) - - if __name__ == '__main__': unittest.main() -- cgit v1.2.3