Coverage report:
95%
hide covered
Files
Functions
Classes
coverage.py v7.10.6
, created at 2025-09-06 19:46 +0530
File
function
statements
missing
excluded
coverage
src/mcpadapt/auth/__init__.py
(no function)
5
0
0
100%
src/mcpadapt/auth/authenticate.py
authenticate
1
1
0
0%
src/mcpadapt/auth/authenticate.py
(no function)
5
5
0
0%
src/mcpadapt/auth/exceptions.py
OAuthError.__init__
3
0
0
100%
src/mcpadapt/auth/exceptions.py
OAuthTimeoutError.__init__
3
0
0
100%
src/mcpadapt/auth/exceptions.py
OAuthCancellationError.__init__
6
0
0
100%
src/mcpadapt/auth/exceptions.py
OAuthNetworkError.__init__
3
0
0
100%
src/mcpadapt/auth/exceptions.py
OAuthConfigurationError.__init__
3
0
0
100%
src/mcpadapt/auth/exceptions.py
OAuthServerError.__init__
6
0
0
100%
src/mcpadapt/auth/exceptions.py
OAuthCallbackError.__init__
3
0
0
100%
src/mcpadapt/auth/exceptions.py
(no function)
14
0
0
100%
src/mcpadapt/auth/handlers.py
CallbackHandler.__init__
2
0
0
100%
src/mcpadapt/auth/handlers.py
CallbackHandler.do_GET
17
0
0
100%
src/mcpadapt/auth/handlers.py
CallbackHandler.log_message
1
0
0
100%
src/mcpadapt/auth/handlers.py
LocalCallbackServer.__init__
4
0
0
100%
src/mcpadapt/auth/handlers.py
LocalCallbackServer._create_handler_with_data
4
0
0
100%
src/mcpadapt/auth/handlers.py
LocalCallbackServer._create_handler_with_data.DataCallbackHandler.__init__
1
1
0
0%
src/mcpadapt/auth/handlers.py
LocalCallbackServer.start
11
0
0
100%
src/mcpadapt/auth/handlers.py
LocalCallbackServer.stop
5
0
0
100%
src/mcpadapt/auth/handlers.py
LocalCallbackServer.wait_for_callback
12
0
0
100%
src/mcpadapt/auth/handlers.py
LocalCallbackServer.get_state
1
0
0
100%
src/mcpadapt/auth/handlers.py
BaseOAuthHandler.handle_redirect
1
1
0
0%
src/mcpadapt/auth/handlers.py
BaseOAuthHandler.handle_callback
1
1
0
0%
src/mcpadapt/auth/handlers.py
LocalBrowserOAuthHandler.__init__
3
0
0
100%
src/mcpadapt/auth/handlers.py
LocalBrowserOAuthHandler.handle_redirect
11
0
0
100%
src/mcpadapt/auth/handlers.py
LocalBrowserOAuthHandler.handle_callback
12
0
0
100%
src/mcpadapt/auth/handlers.py
(no function)
28
0
0
100%
src/mcpadapt/auth/oauth.py
InMemoryTokenStorage.__init__
2
0
0
100%
src/mcpadapt/auth/oauth.py
InMemoryTokenStorage.get_tokens
1
0
0
100%
src/mcpadapt/auth/oauth.py
InMemoryTokenStorage.set_tokens
1
0
0
100%
src/mcpadapt/auth/oauth.py
InMemoryTokenStorage.get_client_info
1
0
0
100%
src/mcpadapt/auth/oauth.py
InMemoryTokenStorage.set_client_info
1
0
0
100%
src/mcpadapt/auth/oauth.py
(no function)
8
0
0
100%
src/mcpadapt/auth/providers.py
ApiKeyAuthProvider.__init__
2
0
0
100%
src/mcpadapt/auth/providers.py
ApiKeyAuthProvider.get_headers
1
0
0
100%
src/mcpadapt/auth/providers.py
BearerAuthProvider.__init__
1
0
0
100%
src/mcpadapt/auth/providers.py
BearerAuthProvider.get_headers
1
0
0
100%
src/mcpadapt/auth/providers.py
get_auth_headers
3
0
0
100%
src/mcpadapt/auth/providers.py
(no function)
8
0
0
100%
Total
196
9
0
95%
No items found using the specified filter.