def setUp(self):
    super(ArtForAlbumTest, self).setUp()
    self.old_fs_source_get = self.plugin.fs_source.get
    self.old_fetch_img = self.plugin._fetch_image
    self.old_source_urls = self.plugin._source_urls

    def fs_source_get(*_):
        return self.image_file

    def source_urls(_):
        return ['']

    def fetch_img(_):
        return self.image_file
    self.plugin.fs_source.get = fs_source_get
    self.plugin._source_urls = source_urls
    self.plugin._fetch_image = fetch_img
def setUp(self):
    super(ArtForAlbumTest, self).setUp()
    self.old_fs_source_get = self.plugin.fs_source.get
    self.old_fetch_img = self.plugin._fetch_image
    self.old_source_urls = self.plugin._source_urls

    def fs_source_get(*_):
        return self.image_file

    def source_urls(_):
        return []

    def fetch_img(_):
        return self.image_file
    self.plugin.fs_source.get = fs_source_get
    self.plugin._source_urls = source_urls
    self.plugin._fetch_image = fetch_img