()
| 100 | |
| 101 | |
| 102 | def test_tokenlist_first(): |
| 103 | p = sqlparse.parse(' select foo')[0] |
| 104 | first = p.token_first() |
| 105 | assert first.value == 'select' |
| 106 | assert p.token_first(skip_ws=False).value == ' ' |
| 107 | assert sql.TokenList([]).token_first() is None |
| 108 | |
| 109 | |
| 110 | def test_tokenlist_token_matching(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…