mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Added supports_select_union skips in queries and aggregation tests.
This commit is contained in:
parent
cdcd604ef8
commit
6a85c888bf
3 changed files with 7 additions and 1 deletions
|
|
@ -1375,6 +1375,7 @@ class Queries1Tests(TestCase):
|
|||
self.assertCountEqual(items_after, [self.i2, self.i3, self.i4])
|
||||
self.assertCountEqual(items_before, items_after)
|
||||
|
||||
@skipUnlessDBFeature("supports_select_union")
|
||||
def test_union_values_subquery(self):
|
||||
items = Item.objects.filter(creator=OuterRef("pk"))
|
||||
item_authors = Author.objects.annotate(is_creator=Exists(items)).order_by()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue