()
| 161 | |
| 162 | |
| 163 | def test_query_starts_with(): |
| 164 | query = 'USE test;' |
| 165 | assert query_starts_with(query, ('use',)) is True |
| 166 | |
| 167 | query = 'DROP DATABASE test;' |
| 168 | assert query_starts_with(query, ('use',)) is False |
| 169 | |
| 170 | |
| 171 | def test_query_starts_with_comment(): |
nothing calls this directly
no test coverage detected