# 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
        <p>Preceding Paragraph here</p>

        <ul>
          <li>item 1</li>
          <li>item 2</li>
        </ul>
        """
        self.assertMarkdown(text, expect)

    def testPrecedingCodeblock(self):
        text = """
        Stuff
            Code block
            here
        * item 1
        * item 2
        """
        expect = """
        <p>Stuff</p>

        <pre><code>Code block
        here</code></pre>

        <ul>
          <li>item 1</li>
          <li>item 2</li>
        </ul>
        """
        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/list_test.py
from tests.markdown_test.test_utils import MarkdownTest

        <p>Preceding Paragraph here</p>

        <ul>
          <li>item 1</li>
          <li>item 2</li>
        </ul>
        """
        self.assertMarkdown(text, expect)

    def testPrecedingCodeblock(self):
        text = """
        Stuff
            Code block
            here
        * item 1
        * item 2
        """
        expect = """
        <p>Stuff</p>

        <pre><code>Code block
        here</code></pre>

        <ul>
          <li>item 1</li>
          <li>item 2</li>
        </ul>
        """
        self.assertMarkdown(text, expect)


class ListItemTest(MarkdownTest):