Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ovv committed Mar 6, 2018
1 parent 74fb925 commit f7b4b55
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions slack/tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ async def test_query(self, client, token):
client._request.assert_called_once()
assert client._request.call_args[0][0] == 'POST'
assert client._request.call_args[0][1] == 'https://slack.com/api/auth.test'
assert client._request.call_args[0][2] == {'Content-type': 'application/json', 'Authorization': f'Bearer {token}'}
assert client._request.call_args[0][2] == {
'Content-type': 'application/json',
'Authorization': f'Bearer {token}'
}
assert client._request.call_args[0][3] == '{}'

assert rep == {'ok': True}
Expand Down Expand Up @@ -263,7 +266,10 @@ def test_query(self, client, token):
client._request.assert_called_once()
assert client._request.call_args[0][0] == 'POST'
assert client._request.call_args[0][1] == 'https://slack.com/api/auth.test'
assert client._request.call_args[0][2] == {'Content-type': 'application/json', 'Authorization': f'Bearer {token}'}
assert client._request.call_args[0][2] == {
'Content-type': 'application/json',
'Authorization': f'Bearer {token}'
}
assert client._request.call_args[0][3] == '{}'

assert rep == {'ok': True}
Expand Down

0 comments on commit f7b4b55

Please sign in to comment.