# Path: tests/markdown_test/test_utils.py
# class MarkdownTest(TemplarTest):
#     def setUp(self):
#         pass
# 
#     def tearDown(self):
#         pass
# 
#     def assertMarkdown(self, markdown, output):
#         markdown = self.dedent(markdown)
#         output = self.dedent(output)
#         try:
#             self.assertEqual(output + '\n', convert(markdown) + '\n')
#         except AssertionError:
#             raise
# 
#     def assertMarkdownNotEqual(self, markdown, output):
#         markdown = self.dedent(markdown)
#         output = self.dedent(output)
#         try:
#             self.assertNotEqual(output, convert(markdown))
#         except AssertionError:
#             raise
# 
#     def assertMarkdownIgnoreWS(self, markdown, output):
#         markdown = self.dedent(markdown)
#         try:
#             self.assertEqual(self.ignoreWhitespace(output),
#                              self.ignoreWhitespace(convert(markdown)))
#         except AssertionError:
#             raise


from tests.markdown_test.test_utils import MarkdownTest
        Stuff

           This text has three leading spaces
        so it is still a paragraph
        """
        expect = """
        <p>Stuff</p>

        <p>This text has three leading spaces
        so it is still a paragraph</p>
        """
        self.assertMarkdown(text, expect)

    def testLineBreak(self):
        text = """
        Stuff This text is text with a line break  
        so it is still a paragraph  

        Another line break!
        """
        expect = """
        <p>Stuff This text is text with a line break
        <br/>
        so it is still a paragraph
        <br/>

        Another line break!</p>
        """
        self.assertMarkdown(text, expect)


# Path: tests/markdown_test/test_utils.py
# class MarkdownTest(TemplarTest):
#     def setUp(self):
#         pass
# 
#     def tearDown(self):
#         pass
# 
#     def assertMarkdown(self, markdown, output):
#         markdown = self.dedent(markdown)
#         output = self.dedent(output)
#         try:
#             self.assertEqual(output + '\n', convert(markdown) + '\n')
#         except AssertionError:
#             raise
# 
#     def assertMarkdownNotEqual(self, markdown, output):
#         markdown = self.dedent(markdown)
#         output = self.dedent(output)
#         try:
#             self.assertNotEqual(output, convert(markdown))
#         except AssertionError:
#             raise
# 
#     def assertMarkdownIgnoreWS(self, markdown, output):
#         markdown = self.dedent(markdown)
#         try:
#             self.assertEqual(self.ignoreWhitespace(output),
#                              self.ignoreWhitespace(convert(markdown)))
#         except AssertionError:
#             raise


# Path: tests/markdown_test/paragraph_test.py
from tests.markdown_test.test_utils import MarkdownTest

        Stuff

           This text has three leading spaces
        so it is still a paragraph
        """
        expect = """
        <p>Stuff</p>

        <p>This text has three leading spaces
        so it is still a paragraph</p>
        """
        self.assertMarkdown(text, expect)

    def testLineBreak(self):
        text = """
        Stuff This text is text with a line break  
        so it is still a paragraph  

        Another line break!
        """
        expect = """
        <p>Stuff This text is text with a line break
        <br/>
        so it is still a paragraph
        <br/>

        Another line break!</p>
        """
        self.assertMarkdown(text, expect)


class HorizontalRuleTest(MarkdownTest):