MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_no_paren_fns

Method test_no_paren_fns

test/dialect/oracle/test_compiler.py:1453–1464  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1451 )
1452
1453 def test_no_paren_fns(self):
1454 for fn, expected in [
1455 (func.uid(), "uid"),
1456 (func.UID(), "UID"),
1457 (func.sysdate(), "sysdate"),
1458 (func.row_number(), "row_number()"),
1459 (func.rank(), "rank()"),
1460 (func.now(), "CURRENT_TIMESTAMP"),
1461 (func.current_timestamp(), "CURRENT_TIMESTAMP"),
1462 (func.user(), "USER"),
1463 ]:
1464 self.assert_compile(fn, expected)
1465
1466 def test_create_index_alt_schema(self):
1467 m = MetaData()

Callers

nothing calls this directly

Calls 6

sysdateMethod · 0.80
rankMethod · 0.80
nowMethod · 0.80
current_timestampMethod · 0.80
userMethod · 0.80
assert_compileMethod · 0.80

Tested by

no test coverage detected