mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.
This commit is contained in:
committed by
Tim Graham
parent
647be06538
commit
8c775391b7
@@ -225,7 +225,7 @@ class DebugViewTests(SimpleTestCase):
|
||||
|
||||
class DebugViewQueriesAllowedTests(SimpleTestCase):
|
||||
# May need a query to initialize MySQL connection
|
||||
allow_database_queries = True
|
||||
databases = {'default'}
|
||||
|
||||
def test_handle_db_exception(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user