MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_info

Method test_info

test/ext/test_hybrid.py:1222–1228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1220 self.assert_compile(A.value(5), "foo(a.value, :foo_1) + :foo_2")
1221
1222 def test_info(self):
1223 A = self._fixture()
1224 inspect(A).all_orm_descriptors.value.info["some key"] = "some value"
1225 eq_(
1226 inspect(A).all_orm_descriptors.value.info,
1227 {"some key": "some value"},
1228 )
1229
1230 def test_aliased_expression(self):
1231 A = self._fixture()

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
inspectFunction · 0.90
eq_Function · 0.90

Tested by

no test coverage detected