Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit63d6af7

Browse files
committed
Fix two more tests. Should be good for now.
1 parent9ffc225 commit63d6af7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tests/test_github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def test_iter_starred(self):
138138
ifnotself.auth:
139139
return
140140

141-
expect(next(self._g.list_starred())).isinstance(Repository)
141+
expect(next(self._g.iter_starred())).isinstance(Repository)
142142

143143
deftest_list_starred(self):
144144
self.raisesGHE(self.g.list_starred)
@@ -323,7 +323,7 @@ def test_iter_events(self):
323323

324324
deftest_iter_orgs(self):
325325
expect(next(self.g.iter_orgs(self.kr))).isinstance(Organization)
326-
self.raisesGHE(self.g.iter_orgs())
326+
self.raisesGHE(next,self.g.iter_orgs())
327327
ifnotself.auth:
328328
return
329329

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp