MCPcopy
hub / github.com/django/django / test_ticket3037

Method test_ticket3037

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

Source from the content-addressed store, hash-verified

680 self.assertEqual(repr(qs[0].creator.extra.note), "<Note: n1>")
681
682 def test_ticket3037(self):
683 self.assertSequenceEqual(
684 Item.objects.filter(
685 Q(creator__name="a3", name="two") | Q(creator__name="a4", name="four")
686 ),
687 [self.i4],
688 )
689
690 def test_tickets_5321_7070(self):
691 # Ordering columns must be included in the output columns. Note that

Callers

nothing calls this directly

Calls 2

QClass · 0.90
filterMethod · 0.45

Tested by

no test coverage detected