(sql, expected_keyword, expected_text)
| 343 | ], |
| 344 | ) |
| 345 | def test_find_prev_keyword(sql, expected_keyword, expected_text): |
| 346 | token, text = find_prev_keyword(sql) |
| 347 | assert (token.value if token else None) == expected_keyword |
| 348 | assert text == expected_text |
| 349 | |
| 350 | |
| 351 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected