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

Method test_join_uninit

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

Source from the content-addressed store, hash-verified

1761
1762class RefreshForNewColTest(fixtures.TestBase):
1763 def test_join_uninit(self):
1764 a = table("a", column("x"))
1765 b = table("b", column("y"))
1766 j = a.join(b, a.c.x == b.c.y)
1767
1768 q = column("q")
1769 b.append_column(q)
1770 j._refresh_for_new_column(q)
1771 assert j.c.b_q is q
1772
1773 def test_join_init(self):
1774 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