mirror of
https://github.com/django/django.git
synced 2025-11-02 21:03:53 +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
|
|
@ -1155,7 +1155,7 @@ class NullableTest(TestCase):
|
|||
|
||||
|
||||
class MultiDbTests(TestCase):
|
||||
multi_db = True
|
||||
databases = {'default', 'other'}
|
||||
|
||||
def test_using_is_honored_m2m(self):
|
||||
B = Book.objects.using('other')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue