MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_get_ambiguous

Method test_get_ambiguous

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

Source from the content-addressed store, hash-verified

3624 a1.fails_on_class_access
3625
3626 def test_get_ambiguous(self):
3627 A, B = self.classes("A", "B")
3628
3629 a1 = A(bs=[B(data="b1")])
3630 eq_(a1.b_data[0], "b1")
3631
3632 def test_get_nonambiguous(self):
3633 A, B = self.classes("A", "B")

Callers

nothing calls this directly

Calls 3

eq_Function · 0.90
AClass · 0.70
BClass · 0.70

Tested by

no test coverage detected