MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_append

Method test_append

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

Source from the content-addressed store, hash-verified

2634 return Point, Graph, PointData
2635
2636 def test_append(self):
2637 Point, Graph, PointData = self.classes("Point", "Graph", "PointData")
2638
2639 g1 = Graph()
2640 g1.points.append(Point(3, 5))
2641 eq_(g1.point_data, [PointData(point=Point(3, 5))])
2642
2643 def test_access(self):
2644 Point, Graph, PointData = self.classes("Point", "Graph", "PointData")

Callers

nothing calls this directly

Calls 5

eq_Function · 0.90
PointDataClass · 0.85
GraphClass · 0.70
PointClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected