def test_print_with_name():
    """'print' type should return {name: None} when name is provided"""
    questions = [{"name": "hello", "type": "print", "message": "Hello World"}]
    result = patched_prompt(questions, "")
    assert result == {"hello": None}
'print' type should return {name: None} when name is provided
tests/test_prompt.py