We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4903554 commit b78010aCopy full SHA for b78010a
tests/queryset/queryset.py
@@ -4962,20 +4962,6 @@ class Person(Document):
4962
for p in Person.objects():
4963
self.assertEqual(p.name, 'a')
4964
4965
- def test_last_field_name_like_operator(self):
4966
- class EmbeddedItem(EmbeddedDocument):
4967
- type = StringField()
4968
-
4969
- class Doc(Document):
4970
- item = EmbeddedDocumentField(EmbeddedItem)
4971
4972
- Doc.drop_collection()
4973
4974
- doc = Doc(item=EmbeddedItem(type="axe"))
4975
- doc.save()
4976
4977
- self.assertEqual(1, Doc.objects(item__type__="axe").count())
4978
4979
def test_len_during_iteration(self):
4980
"""Tests that calling len on a queyset during iteration doesn't
4981
stop paging.
0 commit comments