@mock.patch.object(trovebox.Trovebox, 'post')
    def test_album_object_add(self, mock_post):
        mock_post.return_value = self._return_value(self.test_albums_dict[1])
        album = self.test_albums[0]
        album.add(self.test_photos, foo="bar")
        mock_post.assert_called_with("/album/1/photo/add.json",
                                     ids=["1a", "2b"], foo="bar")
        self.assertEqual(album.id, self.test_albums[1].id)
Check that photos can be added to an album using the
dataset/ETHPy150Open photo/openphoto-python/tests/unit/test_albums.py/TestAlbumAdd.test_album_object_add