@@ -172,7 +172,6 @@ def test_get_installation_access_token_connection_error(
172172 self , github_api_client , sample_jwt_token , sample_installation_id
173173 ):
174174 """Test connection error (no mock response registered)."""
175- # Don't register any mock response to simulate connection error
176175
177176 with pytest .raises (requests .exceptions .RequestException ):
178177 github_api_client .get_installation_access_token (
@@ -255,7 +254,6 @@ def test_list_installations_network_error(
255254 self , github_api_client , sample_jwt_token
256255 ):
257256 """Test installations listing with network error."""
258- # Don't add any responses to simulate network error
259257
260258 with pytest .raises (requests .exceptions .RequestException ):
261259 github_api_client .list_installations (sample_jwt_token )
@@ -373,7 +371,6 @@ def test_validate_token_network_error(
373371 self , github_api_client , sample_installation_token
374372 ):
375373 """Test token validation with network error."""
376- # Don't add any responses to simulate network error
377374
378375 result = github_api_client .validate_token (sample_installation_token )
379376
@@ -458,7 +455,6 @@ def test_revoke_installation_token_network_error(
458455 self , github_api_client , sample_installation_token
459456 ):
460457 """Test token revocation with network error."""
461- # Don't add any responses to simulate network error
462458
463459 with pytest .raises (requests .exceptions .RequestException ):
464460 github_api_client .revoke_installation_token (sample_installation_token )
@@ -753,7 +749,6 @@ def test_get_accessible_repositories_via_token_network_error(
753749 self , github_api_client , sample_installation_token
754750 ):
755751 """Test repositories retrieval via token with network error."""
756- # Don't add any responses to simulate network error
757752
758753 repos = github_api_client .get_accessible_repositories_via_token (
759754 sample_installation_token
0 commit comments