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

Function test_log_output_ignores_missing_logfile

test/pytests/test_output.py:62–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61
62def test_log_output_ignores_missing_logfile() -> None:
63 cli = make_bare_mycli()
64 cli.logfile = None
65
66 OutputMixin.log_output(cli, 'nothing to write')
67
68
69def test_echo_logs_and_prints(monkeypatch: pytest.MonkeyPatch) -> None:

Callers

nothing calls this directly

Calls 2

make_bare_mycliFunction · 0.90
log_outputMethod · 0.45

Tested by

no test coverage detected