Skip to content

Commit a3b42fc

Browse files
committed
Update test assertions for returned user type
1 parent 571eccc commit a3b42fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/test_github.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def test_all_users(self):
262262
cassette_name = self.cassette_name('iter_all_users')
263263
with self.recorder.use_cassette(cassette_name):
264264
for u in self.gh.all_users(number=25):
265-
assert isinstance(u, github3.users.User)
265+
assert isinstance(u, github3.users.ShortUser)
266266

267267
def test_all_events(self):
268268
"""Test the ability to iterate over all public events."""
@@ -276,7 +276,7 @@ def test_followers_of(self):
276276
cassette_name = self.cassette_name('followers_of')
277277
with self.recorder.use_cassette(cassette_name):
278278
for u in self.gh.followers_of('sigmavirus24', number=25):
279-
assert isinstance(u, github3.users.User)
279+
assert isinstance(u, github3.users.ShortUser)
280280

281281
def test_followers(self):
282282
"""
@@ -288,7 +288,7 @@ def test_followers(self):
288288
cassette_name = self.cassette_name('followers_auth')
289289
with self.recorder.use_cassette(cassette_name):
290290
for u in self.gh.followers():
291-
assert isinstance(u, github3.users.User)
291+
assert isinstance(u, github3.users.ShortUser)
292292

293293
def test_user_teams(self):
294294
"""Test the ability to iterate over a user's teams."""

0 commit comments

Comments
 (0)