def test_return_none_if_no_date_is_found(self, str_date): assert _extract_date(str_date) is None
def test_extract_date(self, str_date, expected_date): assert _extract_date(str_date) == expected_date