Skip to content

TestApp

faststream._internal.testing.app.TestApp #

TestApp(app, run_extra_options=None)

A class to represent a test application.

Source code in faststream/_internal/testing/app.py
def __init__(
    self,
    app: "Application",
    run_extra_options: dict[str, "SettingField"] | None = None,
) -> None:
    self.app = app
    self._extra_options = run_extra_options or {}

app instance-attribute #

app = app