mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-16 22:40:26 +00:00
Added docs to test
This commit is contained in:
parent
39e6a21403
commit
5120ab4ac9
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue