mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #32178 -- Allowed database backends to skip tests and mark expected failures.
Co-authored-by: Tim Graham <timograham@gmail.com>
This commit is contained in:
parent
5ce31d6a71
commit
275dd4ebba
29 changed files with 248 additions and 87 deletions
|
@ -20,7 +20,6 @@ class SHA224Tests(TestCase):
|
|||
Author(alias=None),
|
||||
])
|
||||
|
||||
@unittest.skipIf(connection.vendor == 'oracle', "Oracle doesn't support SHA224.")
|
||||
def test_basic(self):
|
||||
authors = Author.objects.annotate(
|
||||
sha224_alias=SHA224('alias'),
|
||||
|
@ -37,7 +36,6 @@ class SHA224Tests(TestCase):
|
|||
],
|
||||
)
|
||||
|
||||
@unittest.skipIf(connection.vendor == 'oracle', "Oracle doesn't support SHA224.")
|
||||
def test_transform(self):
|
||||
with register_lookup(CharField, SHA224):
|
||||
authors = Author.objects.filter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue