# 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
          Blah
        </div>
        """
        expect = """
        <p>Stuff</p>

        <div>
          Blah
        </div>
        """
        self.assertMarkdown(text, expect)

    def testBlockTagInParagraphs(self):
        text = """
        Stuff here
        <block hello>
        This is a paragraph.
        </block hello>
        """
        expect = """
        <p>Stuff here</p>

        <block hello>

        <p>This is a paragraph.</p>

        </block hello>
        """
        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/tag_test.py
from tests.markdown_test.test_utils import MarkdownTest

          Blah
        </div>
        """
        expect = """
        <p>Stuff</p>

        <div>
          Blah
        </div>
        """
        self.assertMarkdown(text, expect)

    def testBlockTagInParagraphs(self):
        text = """
        Stuff here
        <block hello>
        This is a paragraph.
        </block hello>
        """
        expect = """
        <p>Stuff here</p>

        <block hello>

        <p>This is a paragraph.</p>

        </block hello>
        """
        self.assertMarkdown(text, expect)


class TagTest(MarkdownTest):