def test_single_line_input():
    """Test that single line input works when cli_multiline_input is False"""
    config = OpenHandsConfig()
    config.cli_multiline_input = False

    with patch('builtins.input', return_value='hello world'):
        result = read_input(config.cli_multiline_input)
        assert result == 'hello world'
Test that single line input works when cli_multiline_input is False
tests/unit/test_io.py