Skip to content

Commit b03943a

Browse files
committed
Drop internal tracking codes from conftest docstrings
1 parent 78aa005 commit b03943a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/examples/conftest.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _client_kw(client_module: Any) -> dict[str, Any]:
122122

123123

124124
def _http_client_kw(client_module: Any) -> dict[str, Any]:
125-
"""``httpx.AsyncClient(...)`` kwargs the story's client module wants threaded (G-http-kw)."""
125+
"""``httpx.AsyncClient(...)`` kwargs the story's client module wants threaded through."""
126126
return dict(getattr(client_module, "http_client_kw", None) or {})
127127

128128

@@ -131,9 +131,9 @@ class Hosted:
131131
"""One server/app instance hosted for the leg's whole duration.
132132
133133
``connect`` opens a fresh ``Client`` against that single instance on every
134-
call (G-connect-shared-server / G-event-store-per-app: state observed by one
135-
client is visible to the next). ``http`` is the shared raw ``httpx.AsyncClient``
136-
bound to the same ASGI app, or ``None`` on the in-memory leg.
134+
call, so state observed by one client is visible to the next. ``http`` is
135+
the shared raw ``httpx.AsyncClient`` bound to the same ASGI app, or ``None``
136+
on the in-memory leg.
137137
"""
138138

139139
connect: Connect
@@ -149,7 +149,7 @@ async def hosted(
149149
The leg's era pre-seeds ``mode=``; a scenario may override it per-call (R6
150150
``dual-in-body`` opens both eras from the same body). Auth stories thread an
151151
``httpx.Auth`` onto the bridge client via a module-level ``build_auth(http)``
152-
export and/or extra ``httpx.AsyncClient`` kwargs via ``http_client_kw`` (G3).
152+
export and/or extra ``httpx.AsyncClient`` kwargs via ``http_client_kw``.
153153
"""
154154
for key, value in cfg["env"].items():
155155
monkeypatch.setenv(key, value)
@@ -171,8 +171,8 @@ async def _connect(*, auth: AuthBuilder | None = None, **kw: Any) -> AsyncIterat
171171

172172
# http-asgi: one Starlette app per leg. ``server_export="app"`` stories hand us the
173173
# app directly; ``"factory"`` stories are wrapped via ``asgi_from``. Either way the
174-
# app's own lifespan is what brings the session manager up (G-app-lifespan), and the
175-
# in-process bridge never fires ASGI lifespan events itself, so enter it explicitly.
174+
# app's own lifespan is what brings the session manager up, and the in-process
175+
# bridge never fires ASGI lifespan events itself, so enter it explicitly.
176176
if cfg["server_export"] == "app":
177177
app: Starlette = server_module.build_app()
178178
else:

0 commit comments

Comments
 (0)