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

Function test_cli_log_quiet

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

Source from the content-addressed store, hash-verified

197
198
199def test_cli_log_quiet(mocker):
200 logging.basicConfig = mocker.MagicMock()
201 main(['test_code/py/simple_a', '--quiet'])
202 logging.basicConfig.assert_called_once_with(format="Code2Flow: %(message)s",
203 level=logging.WARNING)
204
205def test_subset_cli(mocker):
206 with pytest.raises(AssertionError):

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected