tracks/python/exercises/markdown/markdown_test.py in trackler-2.2.1.107 vs tracks/python/exercises/markdown/markdown_test.py in trackler-2.2.1.108
- old
+ new
@@ -1,12 +1,11 @@
import unittest
from markdown import parse_markdown
-# Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0
+# Tests adapted from `problem-specifications//canonical-data.json` @ v1.2.0
-
class TestMarkdown(unittest.TestCase):
def test_paragraph(self):
self.assertEqual(parse_markdown('This will be a paragraph'),
'<p>This will be a paragraph</p>')
@@ -17,10 +16,10 @@
def test_bold(self):
self.assertEqual(parse_markdown('__This will be bold__'),
'<p><strong>This will be bold</strong></p>')
- def test_mixed(self):
+ def test_mixed_normal_italics_and_bold(self):
self.assertEqual(parse_markdown('This will _be_ __mixed__'),
'<p>This will <em>be</em> <strong>mixed</strong></p>')
def test_h1(self):
self.assertEqual(parse_markdown('# This will be an h1'),