()
| 640 | |
| 641 | |
| 642 | def test_qualified_function(): |
| 643 | p = sqlparse.parse('foo()')[0].tokens[0] |
| 644 | assert p.get_parent_name() is None |
| 645 | assert p.get_real_name() == 'foo' |
| 646 | |
| 647 | p = sqlparse.parse('foo.bar()')[0].tokens[0] |
| 648 | assert p.get_parent_name() == 'foo' |
| 649 | assert p.get_real_name() == 'bar' |
| 650 | |
| 651 | |
| 652 | def test_aliased_function_without_as(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…