plugin Pytest plugin to support testing starlite-saqlalchemy applications. fx_app ¶ fx_app(pytestconfig, monkeypatch) Returns: Type Description Starlite An application instance, configured via plugin. fx_cap_logger ¶ fx_cap_logger(monkeypatch) Used to monkeypatch the app logger, so we can inspect output. fx_client ¶ fx_client(app) Test client fixture for making calls on the global app instance. fx_is_unit_test ¶ fx_is_unit_test(request) Uses the ini option unit_test_pattern to determine if the test is part of unit or integration tests. pytest_addoption ¶ pytest_addoption(parser) Adds Pytest ini config variables for the plugin.