Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit bb36eeb

Browse files
committed
Fix linting
1 parent 3180bd7 commit bb36eeb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

elemental/client_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def test_genterate_header_without_authentication_should_not_contain_user():
6363

6464
def test_send_request_should_call_request_as_expected():
6565
client = ElementalLive(ELEMENTAL_ADDRESS, USER, API_KEY)
66-
client.session.request = mock.MagicMock(return_value=mock_response(status=200))
66+
client.session.request = mock.MagicMock(
67+
return_value=mock_response(status=200))
6768
client.send_request(
6869
'POST', f'{ELEMENTAL_ADDRESS}/live_events', HEADERS, REQUEST_BODY)
6970

@@ -89,7 +90,8 @@ def test_send_request_should_return_response_on_correct_status_code():
8990

9091
def test_send_request_should_raise_InvalidRequest_on_RequestException():
9192
client = ElementalLive(ELEMENTAL_ADDRESS, USER, API_KEY)
92-
client.session.request = mock.MagicMock(side_effect=requests.exceptions.RequestException())
93+
client.session.request = mock.MagicMock(
94+
side_effect=requests.exceptions.RequestException())
9395

9496
with pytest.raises(InvalidRequest):
9597
client.send_request(

0 commit comments

Comments
 (0)