album.view now requires includeElements=True in order for the album contents to be returned (issue #953)
This commit is contained in:
parent
895b98dedf
commit
d3eff3edb9
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class TestAlbums(test_base.TestBase):
|
||||||
self.assertFalse(hasattr(album, "photos"))
|
self.assertFalse(hasattr(album, "photos"))
|
||||||
|
|
||||||
# Get the photos in the album using the Album object directly
|
# Get the photos in the album using the Album object directly
|
||||||
album.view()
|
album.view(includeElements=True)
|
||||||
# Make sure all photos are in the album
|
# Make sure all photos are in the album
|
||||||
for photo in self.photos:
|
for photo in self.photos:
|
||||||
self.assertIn(photo.id, [p.id for p in album.photos])
|
self.assertIn(photo.id, [p.id for p in album.photos])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue