MCPcopy Create free account
hub / github.com/dbcli/mycli / test_extract_new_password

Function test_extract_new_password

test/pytests/test_main_modes_repl.py:936–939  ·  view source on GitHub ↗
(text: str, expected: str | None)

Source from the content-addressed store, hash-verified

934 ],
935)
936def test_extract_new_password(text: str, expected: str | None) -> None:
937 from mycli.packages.sql_utils import extract_new_password
938
939 assert extract_new_password(text) == expected
940
941
942def test_one_iteration_blocks_disallowed_in_sandbox_mode(monkeypatch: pytest.MonkeyPatch) -> None:

Callers

nothing calls this directly

Calls 1

extract_new_passwordFunction · 0.90

Tested by

no test coverage detected