From 311cd1d7292da618d86d5d968ded21d3748f2032 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Fri, 23 Aug 2024 15:54:05 +0200 Subject: [PATCH] fix docstring --- integration/test_stateless_app.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/integration/test_stateless_app.py b/integration/test_stateless_app.py index 5d4eab35b..129b69dc7 100644 --- a/integration/test_stateless_app.py +++ b/integration/test_stateless_app.py @@ -27,6 +27,9 @@ def stateless_app(tmp_path_factory) -> Generator[AppHarness, None, None]: Args: tmp_path_factory: pytest fixture for creating temporary directories. + + Yields: + AppHarness: A harness for testing the stateless app. """ with AppHarness.create( root=tmp_path_factory.mktemp("stateless_app"), @@ -36,7 +39,12 @@ def stateless_app(tmp_path_factory) -> Generator[AppHarness, None, None]: def test_statelessness(stateless_app: AppHarness, page: Page): - """Test that the stateless app renders a heading but backend/_event is not mounted.""" + """Test that the stateless app renders a heading but backend/_event is not mounted. + + Args: + stateless_app: A harness for testing the stateless app. + page: A Playwright page. + """ assert stateless_app.frontend_url is not None assert stateless_app.backend is not None assert stateless_app.backend.started