()
| 668 | |
| 669 | |
| 670 | def test_grouping_as_cte(): |
| 671 | p = sqlparse.parse('foo AS WITH apple AS 1, banana AS 2')[0].tokens |
| 672 | assert len(p) > 4 |
| 673 | assert p[0].get_alias() is None |
| 674 | assert p[2].value == 'AS' |
| 675 | assert p[4].value == 'WITH' |
| 676 | |
| 677 | def test_grouping_create_table(): |
| 678 | p = sqlparse.parse("create table db.tbl (a string)")[0].tokens |
nothing calls this directly
no test coverage detected
searching dependent graphs…