summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2020-09-07 15:45:56 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-10-22 18:16:58 +0200
commit755dbf39fcdc491fe9b588358303e259c7750be4 (patch)
tree9b200ac7a26b1b0dcb065459e0eeab0ba48663ea /tests/model_fields
parentad11f5b8c9cbfdb763e08c83170694abc0c5fc1e (diff)
downloaddjango-755dbf39fcdc491fe9b588358303e259c7750be4.tar.gz
Replaced @no_oracle skips with DatabaseFeatures.allows_group_by_lob.
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/test_jsonfield.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_fields/test_jsonfield.py b/tests/model_fields/test_jsonfield.py
index f45589e075..1c63d70bf9 100644
--- a/tests/model_fields/test_jsonfield.py
+++ b/tests/model_fields/test_jsonfield.py
@@ -355,7 +355,7 @@ class TestQuerying(TestCase):
operator.itemgetter('key', 'count'),
)
- @skipIf(connection.vendor == 'oracle', "Oracle doesn't support grouping by LOBs, see #24096.")
+ @skipUnlessDBFeature('allows_group_by_lob')
def test_ordering_grouping_by_count(self):
qs = NullableJSONModel.objects.filter(
value__isnull=False,