⏱️ Duration: 0.26s
❌ Error:
url = 'https://promo.com/tools/calendar'
expected_title = 'September 2026 Social Media Content Calendar! | Promo.com'
@pytest.mark.parametrize("url, expected_title", seo_links, ids=[url.split("promo.com")[-1] or "/" for url, _ in seo_links])
def test_bl01_page_returns_200_with_title_and_h1(url: str, expected_title: str) -> None:
"""Public page returns 200, has the expected <title>, and contains an <h1>."""
response = requests.get(url, timeout=30)
assert response.status_code == 200, f"{url} returned {response.status_code}"
title_match = _TITLE_RE.search(response.text)
assert title_match, f"{url} has no <title>"
> assert html.unescape(title_match.group(1)).strip() == expected_title, f"{url} title mismatch"
E AssertionError: https://promo.com/tools/calendar title mismatch
E assert 'September 20...r | Promo.com' == 'September 20...! | Promo.com'
E
E - September 2026 Social Media Content Calendar! | Promo.com
E ? ^ -
E + September 2025 Social Media Content Calendar | Promo.com
E ? ^
tests/be_links/test_be_links.py:27: AssertionError