def test_call_app():
    """Test that the app can be called."""
    app = App()
    app._compile = unittest.mock.Mock()
    api = app()
    assert isinstance(api, Starlette)
Test that the app can be called.
tests/units/test_app.py