MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_join_uninit

Method test_join_uninit

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

Source from the content-addressed store, hash-verified

1743
1744class RefreshForNewColTest(fixtures.TestBase):
1745 def test_join_uninit(self):
1746 a = table("a", column("x"))
1747 b = table("b", column("y"))
1748 j = a.join(b, a.c.x == b.c.y)
1749
1750 q = column("q")
1751 b.append_column(q)
1752 j._refresh_for_new_column(q)
1753 assert j.c.b_q is q
1754
1755 def test_join_init(self):
1756 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