()
| 628 | |
| 629 | |
| 630 | def test_aliased_column_without_as(): |
| 631 | p = sqlparse.parse('foo bar')[0].tokens |
| 632 | assert len(p) == 1 |
| 633 | assert p[0].get_real_name() == 'foo' |
| 634 | assert p[0].get_alias() == 'bar' |
| 635 | |
| 636 | p = sqlparse.parse('foo.bar baz')[0].tokens[0] |
| 637 | assert p.get_parent_name() == 'foo' |
| 638 | assert p.get_real_name() == 'bar' |
| 639 | assert p.get_alias() == 'baz' |
| 640 | |
| 641 | |
| 642 | def test_qualified_function(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…