MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_info_from_hybrid

Method test_info_from_hybrid

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

Source from the content-addressed store, hash-verified

1018 eq_(A.value.info, {"bar": "hoho"})
1019
1020 def test_info_from_hybrid(self):
1021 A = self._fixture()
1022 A._value.info["foo"] = "bar"
1023 A.value.info["bar"] = "hoho"
1024
1025 insp = inspect(A)
1026 is_(insp.all_orm_descriptors["value"].info, A.value.info)
1027
1028
1029class SynonymOfPropertyTest(fixtures.TestBase, AssertsCompiledSQL):

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
inspectFunction · 0.90
is_Function · 0.90

Tested by

no test coverage detected