MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_log_no_parameters

Method test_log_no_parameters

test/engine/test_logging.py:85–94  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 )
84
85 def test_log_no_parameters(self):
86 exec_sql(
87 self.no_param_engine,
88 "INSERT INTO foo (data) values (:data)",
89 [{"data": str(i)} for i in range(100)],
90 )
91 eq_(
92 self.buf.buffer[2].message,
93 "[raw sql] [SQL parameters hidden due to hide_parameters=True]",
94 )
95
96 def test_log_large_list_of_tuple(self):
97 exec_sql(

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90
exec_sqlFunction · 0.70

Tested by

no test coverage detected