def it_knows_what_text_it_contains(self, text_get_fixture): p, expected_value = text_get_fixture paragraph = _Paragraph(p, None) text = paragraph.text assert text == expected_value assert is_unicode(text)
def it_can_get_the_text_of_the_run(self, text_get_fixture): run, expected_value = text_get_fixture text = run.text assert text == expected_value assert is_unicode(text)