MCPcopy Create free account
hub / github.com/Screenly/Anthias / test_handle_github_error_without_response

Function test_handle_github_error_without_response

tests/test_github.py:374–380  ·  view source on GitHub ↗
(
    github_env: None, redis_data: dict[str, str]
)

Source from the content-addressed store, hash-verified

372
373
374def test_handle_github_error_without_response(
375 github_env: None, redis_data: dict[str, str]
376) -> None:
377 exc = requests_exceptions.ConnectionError()
378 exc.response = None
379 github.handle_github_error(exc, 'no-resp-action')
380 assert redis_data['github-api-error'] == 'no-resp-action'
381
382
383def test_handle_github_error_logs_at_warning_not_error(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected