summaryrefslogtreecommitdiff
path: root/tests/backends
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-01-20 07:53:45 +0100
committerGitHub <noreply@github.com>2025-01-20 07:53:45 +0100
commitec8cbea91ed6362d43298caa43f3d868452f7efa (patch)
tree872c9b56680b1bb87f04e6608e88e90303c47aac /tests/backends
parentc28f821c9067050ba0d099349a4dfea2b29faf99 (diff)
Refs #35448 -- Fixed BackendTestCase.test_queries_logger() on Oracle < 23c.
Diffstat (limited to 'tests/backends')
-rw-r--r--tests/backends/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/backends/tests.py b/tests/backends/tests.py
index a7fd7a9bcf..0349e47272 100644
--- a/tests/backends/tests.py
+++ b/tests/backends/tests.py
@@ -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