def test_negative_has_continuation_indent(self): text = ( FILLER + EL + EL + FILLER ) wikicode = mwp.parse(text) result = indentutils.has_continuation_indent(wikicode) self.assertFalse(result)
def test_positive_has_continuation_indent(self): text = ( OUTDENT + FILLER + EL + EL + FILLER ) wikicode = mwp.parse(text) result = indentutils.has_continuation_indent(wikicode) self.assertTrue(result)