Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ArpitSachan committed Aug 22, 2024
1 parent 1d1ff5c commit a75ac3f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/queryset/test_queryset.py
Original file line number Diff line number Diff line change
Expand Up @@ -2625,9 +2625,6 @@ def test_last(self):
with pytest.raises(OperationError):
self.Person.objects.last()

self.Person(name="User D", age=30).save()
assert self.Person.objects.order_by("-age").last() == person3

def test_order_by_optional(self):
class BlogPost(Document):
title = StringField()
Expand Down

0 comments on commit a75ac3f

Please sign in to comment.