Skip to content

Commit 59795e7

Browse files
committed
update tests to pass sonar
1 parent 8bf7e5b commit 59795e7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

specs/mixins/test_http.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ def test_unauthenticated_request(self):
7070
# Test the client's _unauthenticated_request method
7171
with pytest.raises(ResponseError):
7272
response = self.client._unauthenticated_request('GET', '/foo', {}, None)
73-
assert self.client.call_count == 1
74-
assert response == http_response
7573

7674
# Test that a HTTPError is caught
7775
self.client.http.side_effect = URLError('Error')
@@ -86,4 +84,3 @@ def test_unauthenticated_request(self):
8684
with pytest.raises(ResponseError):
8785
response = self.client._unauthenticated_request(
8886
'GET', '/foo', {}, None)
89-
assert logger.debug.call_count == 2

0 commit comments

Comments
 (0)