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

Function write_myclirc

test/pytests/test_client.py:14–17  ·  view source on GitHub ↗
(tmp_path: Path, content: str)

Source from the content-addressed store, hash-verified

12
13
14def write_myclirc(tmp_path: Path, content: str) -> str:
15 myclirc = tmp_path / 'myclirc'
16 myclirc.write_text(content, encoding='utf-8')
17 return str(myclirc)
18
19
20def patch_constructor_side_effects(monkeypatch: pytest.MonkeyPatch) -> None:

Calls

no outgoing calls

Tested by

no test coverage detected