From be189533747ac92a99efe82b7c5cb36e16c61bce Mon Sep 17 00:00:00 2001 From: Kyle Hornberg Date: Mon, 15 Apr 2019 15:11:17 -0500 Subject: [PATCH] Fix style --- tests/test_auth.py | 2 +- tests/test_methods.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_auth.py b/tests/test_auth.py index 39c6dea..0dc4d6f 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -142,7 +142,7 @@ class TestAuth(object): 'https://api.github.com/users/octokit/followers', headers={ 'Content-Type': 'application/json', - 'accept': 'application/vnd.github.v3+json' + 'accept': 'application/vnd.github.v3+json', }, params={ 'page': 1, diff --git a/tests/test_methods.py b/tests/test_methods.py index 3fc8463..5d21480 100644 --- a/tests/test_methods.py +++ b/tests/test_methods.py @@ -233,7 +233,9 @@ class TestClientMethods(object): mocker.patch('requests.get') headers = {'accept': 'application/vnd.github.ant-man-preview+json', 'Content-Type': 'application/json'} Octokit().oauth_authorizations.get_authorization( - authorization_id=100, headers={'accept': 'application/vnd.github.ant-man-preview+json'} + authorization_id=100, headers={ + 'accept': 'application/vnd.github.ant-man-preview+json' + } ) requests.get.assert_called_once_with('https://api.github.com/authorizations/100', params={}, headers=headers)