MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / test_cli_log_default

Function test_cli_log_default

tests/test_interface.py:185–189  ·  view source on GitHub ↗
(mocker)

Source from the content-addressed store, hash-verified

183
184
185def test_cli_log_default(mocker):
186 logging.basicConfig = mocker.MagicMock()
187 main(['test_code/py/simple_a'])
188 logging.basicConfig.assert_called_once_with(format="Code2Flow: %(message)s",
189 level=logging.INFO)
190
191
192def test_cli_log_verbose(mocker):

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected