(expression)
| 117 | |
| 118 | @pytest.mark.parametrize("expression", ["INSERT INTO ", "COPY ", "UPDATE ", "DESCRIBE "]) |
| 119 | def test_suggests_tables_views_and_schemas(expression): |
| 120 | suggestions = suggest_type(expression, expression) |
| 121 | assert set(suggestions) == {Table(schema=None), View(schema=None), Schema()} |
| 122 | |
| 123 | |
| 124 | @pytest.mark.parametrize("expression", ["SELECT * FROM "]) |
nothing calls this directly
no test coverage detected