# retoor <retoor@molodetz.nl>

import requests
from tests.conftest import BASE_URL


def test_404_renders_error_page(app_server):
    r = requests.get(f"{BASE_URL}/this-page-does-not-exist-xyz")
    assert r.status_code == 404
    assert "404" in r.text or "not found" in r.text.lower()
