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

Method test_no_paren_fns

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected