MCPcopy Index your code
hub / github.com/dbcli/mycli / split

Method split

test/pytests/test_sql_utils.py:534–535  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

532def test_need_completion_refresh_ignores_queries_that_fail_to_split(monkeypatch):
533 class BrokenQuery:
534 def split(self):
535 raise RuntimeError('broken')
536
537 monkeypatch.setattr(sql_utils.sqlparse, 'split', lambda _queries: [BrokenQuery(), 'select 1;'])
538

Callers 15

_multiline_exceptionFunction · 0.80
show_candidatesMethod · 0.80
__init__Method · 0.80
find_fuzzy_matchMethod · 0.80
find_fuzzy_matchesMethod · 0.80
get_completionsMethod · 0.80
_enum_value_suggestionFunction · 0.80
parse_pathFunction · 0.80
suggest_pathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected