album.view now requires includeElements=True in order for the album contents to be returned (issue #953)

This commit is contained in:
sneakypete81 2013-02-09 18:51:59 +00:00
parent 895b98dedf
commit d3eff3edb9

View file

@ -56,7 +56,7 @@ class TestAlbums(test_base.TestBase):
self.assertFalse(hasattr(album, "photos"))
# 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
for photo in self.photos:
self.assertIn(photo.id, [p.id for p in album.photos])