mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
Slideshare test case
This commit is contained in:
parent
d2d5632f4f
commit
78645522ee
1 changed files with 10 additions and 0 deletions
10
tests.py
10
tests.py
|
|
@ -150,6 +150,16 @@ class VimeoTestCase(OEmbedExtensionTestCase):
|
|||
output = self.markdown.convert(text)
|
||||
self.assertIn('<iframe', output)
|
||||
|
||||
class SlideshareTestCase(OEmbedExtensionTestCase):
|
||||
|
||||
def test_slideshare_link(self):
|
||||
"""
|
||||
Slideshare Presentation link.
|
||||
"""
|
||||
text = ''
|
||||
output = self.markdown.convert(text)
|
||||
self.assertIn('<iframe', output)
|
||||
|
||||
|
||||
class LimitedOEmbedExtensionTestCase(OEmbedExtensionTestCase):
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue