1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Refs #29542, #30158 -- Enabled a HAVING subquery filter test on Oracle.

Now that subquery annotations aren't included in the GROUP BY unless
explicitly grouped against, the test works on Oracle.
This commit is contained in:
Simon Charette 2019-03-19 01:39:37 -04:00 committed by Tim Graham
parent fb3f034f1c
commit e595a713cc

View File

@ -586,7 +586,6 @@ class NonAggregateAnnotationTestCase(TestCase):
[{'jacob_name': 'Jacob Kaplan-Moss', 'james_name': 'James Bennett'}], [{'jacob_name': 'Jacob Kaplan-Moss', 'james_name': 'James Bennett'}],
) )
@skipUnlessDBFeature('supports_subqueries_in_group_by')
def test_annotation_filter_with_subquery(self): def test_annotation_filter_with_subquery(self):
long_books_qs = Book.objects.filter( long_books_qs = Book.objects.filter(
publisher=OuterRef('pk'), publisher=OuterRef('pk'),