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

Method test_constructor

test/ext/test_associationproxy.py:3034–3036  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3032
3033class InfoTest(fixtures.TestBase):
3034 def test_constructor(self):
3035 assoc = association_proxy("a", "b", info={"some_assoc": "some_value"})
3036 eq_(assoc.info, {"some_assoc": "some_value"})
3037
3038 def test_empty(self):
3039 assoc = association_proxy("a", "b")

Callers

nothing calls this directly

Calls 2

association_proxyFunction · 0.90
eq_Function · 0.90

Tested by

no test coverage detected