@mock.patch.object(trovebox.Trovebox, 'post')
    def test_album_cover_update_id(self, mock_post):
        mock_post.return_value = self._return_value(self.test_albums_dict[1])
        result = self.client.album.cover_update("1", "1a", foo="bar")
        mock_post.assert_called_with("/album/1/cover/1a/update.json",
                                     foo="bar")
        self.assertEqual(result.id, "2")
        self.assertEqual(result.name, "Album 2")
        self.assertEqual(result.cover.id, "2b")
        self.assertEqual(result.cover.tags, ["tag3", "tag4"])
This method is optional. If provided, it must return:
dataset/ETHPy150Open photo/openphoto-python/tests/unit/test_albums.py/TestAlbumUpdateCover.test_album_cover_update_id--crossover with--dataset/ETHPy150Open gateway4labs/labmanager/labmanager/rlms/base.py/BaseRLMS.search