From d3eff3edb92aeea3d1e784000bb715caf22d91bd Mon Sep 17 00:00:00 2001 From: sneakypete81 Date: Sat, 9 Feb 2013 18:51:59 +0000 Subject: [PATCH] album.view now requires includeElements=True in order for the album contents to be returned (issue #953) --- tests/test_albums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_albums.py b/tests/test_albums.py index d8a7244..53ff7e9 100644 --- a/tests/test_albums.py +++ b/tests/test_albums.py @@ -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])