Basic conversion skeleton
This commit is contained in:
11
tests.py
Normal file
11
tests.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import unittest
|
||||
from markdownify import markdownify as md
|
||||
|
||||
|
||||
class BasicTests(unittest.TestCase):
|
||||
|
||||
def test_single_tag(self):
|
||||
self.assertEqual(md('<span>Hello</span>'), 'Hello')
|
||||
|
||||
def test_soup(self):
|
||||
self.assertEqual(md('<div><span>Hello</div></span>'), 'Hello')
|
||||
Reference in New Issue
Block a user