def test_albums_can_load_their_photos(): provider = GoogleImageProvider('heynemann') albums = provider.load_albums() album = albums[1] assert provider.load_photos(album=album)
def test_albums_have_title_and_id(): provider = GoogleImageProvider('heynemann') albums = provider.load_albums() for album in albums: assert album.identifier assert album.title assert album.url
def test_should_load_albums(): provider = GoogleImageProvider('heynemann') albums = provider.load_albums() assert albums