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

Method test_table_alias_1

test/sql/test_labels.py:190–201  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

188 eq_(mock_.mock_calls, []) # was not called
189
190 def test_table_alias_1(self):
191 self.assert_compile(
192 self.table2.alias().select(),
193 "SELECT "
194 "table_with_exactly_29_c_1."
195 "this_is_the_primarykey_column, "
196 "table_with_exactly_29_c_1.this_is_the_data_column "
197 "FROM "
198 "table_with_exactly_29_characs "
199 "AS table_with_exactly_29_c_1",
200 dialect=self._length_fixture(),
201 )
202
203 def test_table_alias_2(self):
204 table1 = self.table1

Callers

nothing calls this directly

Calls 4

_length_fixtureMethod · 0.95
assert_compileMethod · 0.80
selectMethod · 0.45
aliasMethod · 0.45

Tested by

no test coverage detected