Unittest for HD profilepic and fix ResourceWarning

This commit is contained in:
Alexander Graf
2019-01-17 18:10:14 +01:00
parent 57892f191a
commit b158c57b9e
2 changed files with 9 additions and 6 deletions

View File

@@ -130,6 +130,9 @@ class TestInstaloaderLoggedIn(TestInstaloaderAnonymously):
def test_private_profile_paging(self):
self.post_paging_test(instaloader.Profile.from_username(self.L.context, PRIVATE_PROFILE).get_posts())
def test_profile_pic_download(self):
self.L.download_profile(PUBLIC_PROFILE, profile_pic_only=True)
def test_feed_download(self):
self.L.download_feed_posts(NORMAL_MAX_COUNT)