{iframe} shortcode no longer requires cap=xxx
This commit is contained in:
@@ -109,7 +109,9 @@ class IFrameTest(AbstractPillarTest):
|
||||
def test_missing_cap(self):
|
||||
from pillar.shortcodes import render
|
||||
|
||||
self.assertEqual('{iframe missing cap="somecap"}', render('{iframe}'))
|
||||
md = '{iframe src="https://docs.python.org/3/library/"}'
|
||||
expect = '<iframe class="shortcode" src="https://docs.python.org/3/library/"></iframe>'
|
||||
self.assertEqual(expect, render(md))
|
||||
|
||||
def test_user_no_cap(self):
|
||||
from pillar.shortcodes import render
|
||||
|
Reference in New Issue
Block a user