'Keep the n first genres, after having applied c14n when necessary'

def test_count_c14n(self):

    self._setup_config(whitelist=set(['blues', 'rock', 'jazz']), canonical=True, count=2)
    self.assertEqual(self.plugin._resolve_genres(['jazz', 'pop', 'country    blues', 'rock']), u'Jazz,    Blues')
