MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_scalar_strings

Method test_scalar_strings

test/dialect/oracle/test_dialect.py:1183–1186  ·  view source on GitHub ↗
(self, scalar_strings, connection)

Source from the content-addressed store, hash-verified

1181 eq_(result, ["some string"] * 5)
1182
1183 def test_scalar_strings(self, scalar_strings, connection):
1184 fn = func.scalar_strings(5, "some string")
1185 result = connection.execute(select(fn.column_valued())).scalars().all()
1186 eq_(result, ["some string"] * 5)
1187
1188 def test_two_strings_control(self, two_strings, connection):
1189 result = connection.exec_driver_sql(

Callers

nothing calls this directly

Calls 7

selectFunction · 0.90
eq_Function · 0.90
column_valuedMethod · 0.80
scalar_stringsMethod · 0.45
allMethod · 0.45
scalarsMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected