def test_source_string_reader(self) -> None: """ Checks that the text can be retrieved from a string reader. """ text = 'Peek-a-boo!\nI see you.\n' expected = text unit_under_test = SourceStringReader(text) assert unit_under_test.get_text() == expected
def testSourceStringReader(self): # pylint: disable=no-self-use ''' Checks that the text can be retrieved from a string reader. ''' text = 'Peek-a-boo!\nI see you.\n' expected = text unit_under_test = SourceStringReader(text) assert unit_under_test.get_text() == expected