Skip to content

TestApp

faststream.testing.app.TestApp #

TestApp(app, run_extra_options=None)

A class to represent a test application.

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

app instance-attribute #

app = app