'Make sure tags get applied based on metadata on first save.'

def test_auto_tagging(self):

    Tag.objects.create(slug='green', name='green')
    Tag.objects.create(slug='Fix    problems', name='fix-problems')
    q = self.question
    q.add_metadata(product='desktop', category='fix-problems', ff_version='3.6.8', os='GREen')
    q.save()
    q.auto_tag()
    tags_eq(q, ['desktop', 'fix-problems', 'Firefox    3.6.8', 'Firefox    3.6', 'green'])
