()
| 333 | |
| 334 | |
| 335 | def test_grouping_alias_case(): |
| 336 | # see issue46 |
| 337 | p = sqlparse.parse('CASE WHEN 1 THEN 2 ELSE 3 END foo')[0] |
| 338 | assert len(p.tokens) == 1 |
| 339 | assert p.tokens[0].get_alias() == 'foo' |
| 340 | |
| 341 | |
| 342 | def test_grouping_alias_ctas(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…