def METHOD_NAME(time_sleep, recv_message, crypt):
    recv_message.side_effect = socket.timeout
    assert crypt.raw_daemon_request(data={}, timeout=0) == {'status': 1, 'err': MSG_TIMEOUT_RECV}
    assert time_sleep.call_count == 0