mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #35448 -- Fixed BackendTestCase.test_queries_logger() on Oracle < 23c.
This commit is contained in:
parent
c28f821c90
commit
ec8cbea91e
1 changed files with 1 additions and 0 deletions
|
@ -575,6 +575,7 @@ class BackendTestCase(TransactionTestCase):
|
|||
@override_settings(DEBUG=True)
|
||||
def test_queries_logger(self, mocked_logger):
|
||||
sql = "SELECT 1" + connection.features.bare_select_suffix
|
||||
sql = connection.ops.format_debug_sql(sql)
|
||||
with connection.cursor() as cursor:
|
||||
cursor.execute(sql)
|
||||
params, kwargs = mocked_logger.debug.call_args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue