Basic conversion skeleton

This commit is contained in:
Matthew Tretter
2012-06-29 12:19:30 -04:00
commit 36cb7f6ac1
6 changed files with 103 additions and 0 deletions

11
tests.py Normal file
View 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')