8000 Updated unit test for test_users · pythonthings/github3.py@c56363b · GitHub
[go: up one dir, main page]

Skip to content

Commit c56363b

Browse files
Updated unit test for test_users
Updated header argument to match actual request.
1 parent de98533 commit c56363b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/unit/test_users.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ def test_starred_repositories(self):
155155
self.session.get.assert_called_once_with(
156156
url_for('starred'),
157157
params={'per_page': 100},
158-
headers={}
158+
headers={
159+
'Accept': 'application/vnd.github.v3.star+json'
160+
}
159161
)
160162

161163
def test_subscriptions(self):

0 commit comments

Comments
 (0)
0