MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_constructor

Method test_constructor

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

Source from the content-addressed store, hash-verified

3138
3139class InfoTest(fixtures.TestBase):
3140 def test_constructor(self):
3141 assoc = association_proxy("a", "b", info={"some_assoc": "some_value"})
3142 eq_(assoc.info, {"some_assoc": "some_value"})
3143
3144 def test_empty(self):
3145 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