def test_slugify(self):
    a = Article.objects.create(title='django-taggit 1.0 Released')
    a.tags.add('awesome', 'release', 'AWESOME')
    self.assert_tags_equal(a.tags.all(), ['category-awesome', 'category-release', 'category-awesome-1'], attr='slug')
def test_slugify(self):
    a = Article.objects.create(title='django-taggit 1.0 Released')
    a.tags.add('awesome', 'release', 'AWESOME')
    self.assert_tags_equal(a.tags.all(), ['category-awesome', 'category-release', 'category-awesome-1'], attr='slug')