Added docs to test

This commit is contained in:
David Gelvin 2010-09-17 12:56:52 +03:00
parent 39e6a21403
commit 5120ab4ac9

View file

@ -210,6 +210,10 @@ class EavFilterTests(TestCase):
self.assertEqual(User.eav_objects.filter(Q(eav__height=20) | Q(eav__weight=10) | Q(eav__weight=15)).count(), 2)
def test_broken_eav_filters(self):
'''
This test demonstrates a few EAV queries that are known to be broken.
it currently fails.
''''
EavRegistry.register(User)
EavAttribute.objects.create(datatype=EavAttribute.TYPE_INT,