()
| 546 | |
| 547 | |
| 548 | def test_emit_select_like_default(): |
| 549 | text = 'SELECT ' |
| 550 | full_text = 'SELECT FROM tabl' |
| 551 | context = _build_suggest_context('select', text, None, full_text, empty_identifier()) |
| 552 | assert sorted_dicts(_emit_select_like(context)) == sorted_dicts([ |
| 553 | {'type': 'column', 'tables': [(None, 'tabl', None)]}, |
| 554 | {'type': 'function', 'schema': []}, |
| 555 | {'type': 'introducer'}, |
| 556 | {'type': 'alias', 'aliases': ['tabl']}, |
| 557 | ]) |
| 558 | |
| 559 | |
| 560 | def test_emit_relation_like_with_schema_parent(): |
nothing calls this directly
no test coverage detected