MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_set_ambiguous

Method test_set_ambiguous

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

Source from the content-addressed store, hash-verified

3636 eq_(a1.well_behaved_b_data[0], "b1")
3637
3638 def test_set_ambiguous(self):
3639 A, B = self.classes("A", "B")
3640
3641 a1 = A(bs=[B()])
3642
3643 a1.b_data[0] = "b1"
3644 eq_(a1.b_data[0], "b1")
3645
3646 def test_set_nonambiguous(self):
3647 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