(self)
| 2683 | ) |
| 2684 | |
| 2685 | def test_ticket_19151(self): |
| 2686 | # #19151 -- Calling .values() or .values_list() on an empty QuerySet |
| 2687 | # should return an empty QuerySet and not cause an error. |
| 2688 | q = Author.objects.none() |
| 2689 | self.assertCountEqual(q.values(), []) |
| 2690 | self.assertCountEqual(q.values_list(), []) |
| 2691 | |
| 2692 | |
| 2693 | class ValuesQuerysetTests(TestCase): |
nothing calls this directly
no test coverage detected