testing.route_smoke

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Route smoke helpers for full-page and fragment render checks.

Route smoke helpers for full-page and fragment render checks.

testing.route_smoke

Name Type Default Description
type
qualified_name
element_type
description
source_file
line_number
is_autodoc
autodoc_element
_autodoc_template
_autodoc_url_path
_autodoc_page_type
title
doc_content_hash

Symbols on this page

RouteSmokeCase
class

One route/render-intent expectation forassert_route_smoke.

assert_route_smoke
function async
async def assert_route_smoke(client: Any, cases: Iterable[RouteSmokeCase | str]) -> dict[tuple[str, str], Response]

Assert route status/render mode expectations through aTestClient.

str cases smoke a full-page route at status 200. Use RouteSmokeCase when a route should be checked as a fragment, boosted shell outlet, status-only response, or both full-page and fragment render intents.

Parameters

Name Type Default Description
client Any
cases Iterable[RouteSmokeCase | str]

View source · /home/runner/work/chirp/chirp/site/../src/chirp/testing/route_smoke.py:1