Better plugin templates
This commit is contained in:
parent
abf2c1bb61
commit
41834f6bf9
4 changed files with 12 additions and 8 deletions
|
|
@ -165,7 +165,7 @@ try:
|
|||
)
|
||||
context = self.get_plugin_context(pages[0], 'en', plugin, edit=False)
|
||||
rendered = plugin.render_plugin(context, post.liveblog)
|
||||
self.assertFalse(rendered)
|
||||
self.assertFalse(rendered.strip())
|
||||
|
||||
plugin.publish = True
|
||||
plugin.save()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue