MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_ansi_functions_with_args

Method test_ansi_functions_with_args

test/sql/test_functions.py:546–548  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

544 self.assert_compile(func.count(c), "count(abc)")
545
546 def test_ansi_functions_with_args(self):
547 ct = func.current_timestamp("somearg")
548 self.assert_compile(ct, "CURRENT_TIMESTAMP(:current_timestamp_1)")
549
550 def test_char_length_fixed_args(self):
551 assert_raises(TypeError, func.char_length, "a", "b")

Callers

nothing calls this directly

Calls 2

current_timestampMethod · 0.80
assert_compileMethod · 0.80

Tested by

no test coverage detected