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

Function test_matches_parent

test/pytests/test_sqlcompleter.py:568–569  ·  view source on GitHub ↗
(parent: str, schema: str | None, relname: str, alias: str | None, expected: bool)

Source from the content-addressed store, hash-verified

566 ],
567)
568def test_matches_parent(parent: str, schema: str | None, relname: str, alias: str | None, expected: bool) -> None:
569 assert SQLCompleter._matches_parent(parent, schema, relname, alias) is expected
570
571
572def test_copy_other_schemas_from_preserves_non_current_metadata() -> None:

Callers

nothing calls this directly

Calls 1

_matches_parentMethod · 0.80

Tested by

no test coverage detected