mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Added supports_select_union skips in queries and aggregation tests.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user