diff --git a/schwab/auth.py b/schwab/auth.py index f4dbbb4..9191781 100644 --- a/schwab/auth.py +++ b/schwab/auth.py @@ -165,11 +165,12 @@ async def oauth_client_update_token(t, *args, **kwargs): token_metadata=metadata_manager, enforce_enums=enforce_enums) -# This runs in a separate process and is invisible to coverage -# pragma: no cover def __run_client_from_login_flow_server(q, callback_port, callback_path): '''Helper server for intercepting redirects to the callback URL. See client_from_login_flow for details.''' + # This runs in a separate process and is invisible to coverage + # pragma: no cover + import flask app = flask.Flask(__name__)