mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +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
|
@ -1,5 +1,5 @@
|
|||
import datetime
|
||||
from unittest import skipIf, skipUnless
|
||||
from unittest import skipUnless
|
||||
|
||||
from django.db import connection
|
||||
from django.db.models import CASCADE, ForeignKey, Index, Q
|
||||
|
@ -89,7 +89,6 @@ class SchemaIndexesTests(TestCase):
|
|||
)
|
||||
|
||||
|
||||
@skipIf(connection.vendor == 'postgresql', 'opclasses are PostgreSQL only')
|
||||
class SchemaIndexesNotPostgreSQLTests(TransactionTestCase):
|
||||
available_apps = ['indexes']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue