(self)
| 292 | ) |
| 293 | |
| 294 | def test_text_as_from_select_statement(self): |
| 295 | is_true( |
| 296 | expect( |
| 297 | roles.SelectStatementRole, |
| 298 | text("select * from table").columns(t.c.q), |
| 299 | ).compare(text("select * from table").columns(t.c.q)) |
| 300 | ) |
| 301 | |
| 302 | def test_statement_coercion_select(self): |
| 303 | is_true(expect(roles.StatementRole, select(t)).compare(select(t))) |