def test_fetch_photo_comments(self): group = GroupFactory.create(remote_id=GROUP_ID) album = AlbumFactory.create(remote_id=ALBUM_ID, group=group) photo = PhotoFactory.create(remote_id=PHOTO_ID, album=album) self.assertEqual(photo.comments, 0) photo.fetch_comments() self.assertTrue(photo.comments > 0)