def test_match_first_paragraph(): expected = 'pybites != greedy' assert regex.match_first_paragraph() == expected
def test_match_first_paragraph_other_html(): html = ('<p>Match only this paragraph.</p>' '<p>Not this one!</p><p>And this one neither.</p>') expected = 'Match only this paragraph.' assert match_first_paragraph(html) == expected
def test_match_first_paragraph(): expected = "pybites != greedy" assert match_first_paragraph() == expected
def test_match_first_paragraph_default_arg(): expected = 'pybites != greedy' assert match_first_paragraph() == expected
def test_match_first_paragraph(): expected = 'pybites != greedy' assert match_first_paragraph() == expected