def test_read_lines(): lines = utils.read_lines("data/test_stories/stories.md", max_line_limit=2, line_pattern=r"\*.*") lines = list(lines) assert len(lines) == 2
def test_read_lines(): lines = utils.read_lines("data/test_stories/stories.md", max_line_limit=2, line_pattern="\*.*") lines = list(lines) assert len(lines) == 2