def test_section_pars_for_empty_docs(self): doc = document(title='Doc', locale=u'fr', slug=u'doc', save=True, html='<!-- -->') res = get_content_sections(doc.html) eq_(type(res).__name__, 'list')