Add unittest for Profile.get_tagged_posts()
This commit is contained in:
parent
bc29ffbd44
commit
1b5c12c8fa
@ -76,6 +76,11 @@ class TestInstaloaderAnonymously(unittest.TestCase):
|
||||
self.assertEqual(post, post2)
|
||||
break
|
||||
|
||||
def test_public_profile_tagged_paging(self):
|
||||
for post in islice(instaloader.Profile.from_username(self.L.context, PUBLIC_PROFILE).get_tagged_posts(),
|
||||
PAGING_MAX_COUNT):
|
||||
print(post)
|
||||
|
||||
|
||||
class TestInstaloaderLoggedIn(TestInstaloaderAnonymously):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user