mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
updated tests
This commit is contained in:
parent
632279ec9f
commit
0b2b234fb5
1 changed files with 5 additions and 2 deletions
7
tests.py
7
tests.py
|
|
@ -98,7 +98,7 @@ class YoutubeTestCase(OEmbedExtensionTestCase):
|
||||||
output = self.markdown.convert(text)
|
output = self.markdown.convert(text)
|
||||||
self.assertEqual(output, expected)
|
self.assertEqual(output, expected)
|
||||||
|
|
||||||
def test_vimeio_link(self):
|
def test_vimeo_link(self):
|
||||||
"""
|
"""
|
||||||
Vimeo video link.
|
Vimeo video link.
|
||||||
"""
|
"""
|
||||||
|
|
@ -136,7 +136,7 @@ class LimitedOEmbedExtensionTestCase(unittest.TestCase):
|
||||||
output = self.markdown.convert(text)
|
output = self.markdown.convert(text)
|
||||||
self.assertEqual(output, expected)
|
self.assertEqual(output, expected)
|
||||||
|
|
||||||
def test_vimeio_link(self):
|
def test_vimeo_link(self):
|
||||||
"""
|
"""
|
||||||
Vimeo video link.
|
Vimeo video link.
|
||||||
"""
|
"""
|
||||||
|
|
@ -145,3 +145,6 @@ class LimitedOEmbedExtensionTestCase(unittest.TestCase):
|
||||||
output = self.markdown.convert(text)
|
output = self.markdown.convert(text)
|
||||||
self.assertEqual(output, expected)
|
self.assertEqual(output, expected)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
unittest.main()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue