def test_main_to_interactive(self, mock_interactive, mock_parse): cli.main(None) mock_interactive.assert_called_with(sentinel.Renderer)
def main(): """ Entry point. """ cli.main(sys.argv[1:])
def test_main_to_convert(self, mock_convert, mock_parse): cli.main(None) mock_convert.assert_called_with(['foo.md'], sentinel.Renderer)