Skip to content

Commit

Permalink
move pragma no cover for server
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgolec committed Jun 12, 2024
1 parent ab3c2a5 commit 18b0c03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions schwab/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 174 in schwab/auth.py

View check run for this annotation

Codecov / codecov/patch

schwab/auth.py#L174

Added line #L174 was not covered by tests

app = flask.Flask(__name__)

Check warning on line 176 in schwab/auth.py

View check run for this annotation

Codecov / codecov/patch

schwab/auth.py#L176

Added line #L176 was not covered by tests
Expand Down

0 comments on commit 18b0c03

Please sign in to comment.