'Edit the album field for all items in the library, discard changes,
using a candidate.'

def test_edit_discard_candidate(self):

    self._setup_import_session()
    self.run_mocked_interpreter({'replacements': {u'Applied    Title': u'Edited    Title'}}, ['c', '1', 'a'])
    self.assertTrue(all((('Edited    Title    ' in i.title) for i in self.lib.items())))
    self.assertTrue(all((('match    ' in i.mb_trackid) for i in self.lib.items())))
    self.assertIn('albumid', self.lib.albums()[0].mb_albumid)
