MCPcopy
hub / github.com/django/django / test_empty_queryset

Method test_empty_queryset

tests/queries/tests.py:2367–2368  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2365 self.assertIs(Annotation.objects.order_by("id").ordered, True)
2366
2367 def test_empty_queryset(self):
2368 self.assertIs(Annotation.objects.none().ordered, True)
2369
2370 def test_order_by_extra(self):
2371 self.assertIs(Annotation.objects.extra(order_by=["id"]).ordered, True)

Callers

nothing calls this directly

Calls 1

noneMethod · 0.80

Tested by

no test coverage detected