Style: yapf

This commit is contained in:
Kyle Hornberg
2018-02-06 11:42:05 -06:00
parent 16f4fc4c13
commit 66b10f8074
4 changed files with 10 additions and 14 deletions
+1 -6
View File
@@ -40,12 +40,7 @@ class TestClientMethods(object):
def test_request_has_body_parameters(self, mocker):
mocker.patch('requests.post')
data = {
'scopes': [
'public_repo'
],
'note': 'admin script'
}
data = {'scopes': ['public_repo'], 'note': 'admin script'}
Octokit().authorization.create(**data)
requests.post.assert_called_once_with(
'https://api.github.com/authorizations', data=json.dumps(data), headers={}