mirror of
https://github.com/instaloader/instaloader.git
synced 2024-09-11 16:22:24 +02:00
Unit Test for Profile.get_similar_accounts()
This commit is contained in:
parent
b5bf8a0560
commit
c76385bde2
@ -178,6 +178,11 @@ class TestInstaloaderLoggedIn(TestInstaloaderAnonymously):
|
|||||||
for f in profile.get_followers():
|
for f in profile.get_followers():
|
||||||
print(f.username)
|
print(f.username)
|
||||||
|
|
||||||
|
def test_get_similar_accounts(self):
|
||||||
|
profile = instaloader.Profile.from_username(self.L.context, OWN_USERNAME)
|
||||||
|
for f in profile.get_similar_accounts():
|
||||||
|
print(f.username)
|
||||||
|
|
||||||
def test_get_likes(self):
|
def test_get_likes(self):
|
||||||
for post in instaloader.Profile.from_username(self.L.context, OWN_USERNAME).get_posts():
|
for post in instaloader.Profile.from_username(self.L.context, OWN_USERNAME).get_posts():
|
||||||
for like in post.get_likes():
|
for like in post.get_likes():
|
||||||
|
Loading…
Reference in New Issue
Block a user