Skip to content

Commit b78010a

Browse files
committed
remove test_last_field_name_like_operator (it's a dupe of the same test in tests/queryset/transform.py)
1 parent 4903554 commit b78010a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/queryset/queryset.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4962,20 +4962,6 @@ class Person(Document):
49624962
for p in Person.objects():
49634963
self.assertEqual(p.name, 'a')
49644964

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-
49794965
def test_len_during_iteration(self):
49804966
"""Tests that calling len on a queyset during iteration doesn't
49814967
stop paging.

0 commit comments

Comments
 (0)