We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c28f821 commit ec8cbeaCopy full SHA for ec8cbea
tests/backends/tests.py
@@ -575,6 +575,7 @@ def test_queries_limit(self):
575
@override_settings(DEBUG=True)
576
def test_queries_logger(self, mocked_logger):
577
sql = "SELECT 1" + connection.features.bare_select_suffix
578
+ sql = connection.ops.format_debug_sql(sql)
579
with connection.cursor() as cursor:
580
cursor.execute(sql)
581
params, kwargs = mocked_logger.debug.call_args
0 commit comments