Commit 1ae2d963 by Alex Gaynor

Reenable a failing test.

parent ba0885b0
...@@ -177,18 +177,18 @@ class TaggableManagerTestCase(BaseTaggingTestCase): ...@@ -177,18 +177,18 @@ class TaggableManagerTestCase(BaseTaggingTestCase):
apple.tags.add("juicy", "juicy") apple.tags.add("juicy", "juicy")
self.assert_tags_equal(apple.tags.all(), ['juicy']) self.assert_tags_equal(apple.tags.all(), ['juicy'])
# def test_query_traverse(self): def test_query_traverse(self):
# spot = self.pet_model.objects.create(name='Spot') spot = self.pet_model.objects.create(name='Spot')
# spike = self.pet_model.objects.create(name='Spike') spike = self.pet_model.objects.create(name='Spike')
# spot.tags.add('scary') spot.tags.add('scary')
# spike.tags.add('fluffy') spike.tags.add('fluffy')
# lookup_kwargs = { lookup_kwargs = {
# '%s__name' % (self.pet_model._meta.object_name.lower()): 'Spot' 'content_object__name' % (self.pet_model._meta.object_name.lower()): 'Spot'
# } }
# self.assert_tags_equal( self.assert_tags_equal(
# [i.tag for i in self.taggeditem_model.objects.filter(**lookup_kwargs)], [i.tag for i in self.taggeditem_model.objects.filter(**lookup_kwargs)],
# ['scary'] ['scary']
# ) )
def test_taggeditem_unicode(self): def test_taggeditem_unicode(self):
ross = self.pet_model.objects.create(name="ross") ross = self.pet_model.objects.create(name="ross")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment