mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.
This commit is contained in:
parent
647be06538
commit
8c775391b7
27 changed files with 391 additions and 109 deletions
|
@ -241,8 +241,8 @@ class Ticket17477RegressionTests(AdminScriptTestCase):
|
|||
|
||||
|
||||
class SQLiteInMemoryTestDbs(TransactionTestCase):
|
||||
multi_db = True
|
||||
available_apps = ['test_runner']
|
||||
databases = {'default', 'other'}
|
||||
|
||||
@unittest.skipUnless(all(db.connections[conn].vendor == 'sqlite' for conn in db.connections),
|
||||
"This is an sqlite-specific issue")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue