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

Method test_join_init

test/sql/test_selectable.py:1773–1781  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1771 assert j.c.b_q is q
1772
1773 def test_join_init(self):
1774 a = table("a", column("x"))
1775 b = table("b", column("y"))
1776 j = a.join(b, a.c.x == b.c.y)
1777 j.c
1778 q = column("q")
1779 b.append_column(q)
1780 j._refresh_for_new_column(q)
1781 assert j.c.b_q is q
1782
1783 def test_join_samename_init(self):
1784 a = table("a", column("x"))

Callers

nothing calls this directly

Calls 5

tableFunction · 0.90
columnFunction · 0.90
joinMethod · 0.45
append_columnMethod · 0.45

Tested by

no test coverage detected