diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-08-29 09:40:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-29 09:40:34 +0200 |
| commit | 069bee7c1232458a0f13c2e30daa8df99dbd3680 (patch) | |
| tree | cfb19bab53bb98284df84eeb66e3a66f6d596ff8 | |
| parent | c7f656435cbf4feee3515ae67cfbe12d6bf791fb (diff) | |
Used skipUnlessDBFeature instead of checking vendor in test_filtering_on_annotate_that_uses_q.
| -rw-r--r-- | tests/expressions/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index f5d1553dfb..eaa3471177 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -74,7 +74,7 @@ class BasicExpressionsTests(TestCase): companies = Company.objects.annotate(foo=RawSQL('%s', ['value'])) self.assertEqual(companies.count(), 3) - @unittest.skipIf(connection.vendor == 'oracle', "Oracle doesn't support using boolean type in SELECT") + @skipUnlessDBFeature('supports_boolean_expr_in_select_clause') def test_filtering_on_annotate_that_uses_q(self): self.assertEqual( Company.objects.annotate( |
