8000 test_iter_assignees · losingkeys/github3.py@ce8979b · GitHub
[go: up one dir, main page]

Skip to content

Commit ce8979b

Browse files
committed
test_iter_assignees
1 parent 69e241b commit ce8979b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_repos.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,3 +495,12 @@ def test_label(self):
495495
self.not_called()
496496
expect(self.repo.label('name')).isinstance(github3.issues.Label)
497497
self.mock_assertions()
498+
499+
def test_iter_assignees(self):
500+
self.response('user', _iter=True)
501+
self.get(self.api + 'assignees')
502+
self.conf = {'params': None}
503+
504+
u = next(self.repo.iter_assignees())
505+
expect(u).isinstance(github3.users.User)
506+
self.mock_assertions()

0 commit comments

Comments
 (0)
0