code: def test_falsy_connection():
      A = component_class("A", input_types={"x": int}, output={"y": 0})
      B = component_class("A", input_types={"x": int}, output={"y": 0})
      p = Pipeline()
      p.add_component("a", A())
      p.add_component("b", B())
      p.connect("a.y", "b.x")
      assert p.run({"a": {"x": 10}})["b"]["y"] == 0
  
imports: from typing import Optional
  import logging
  import pytest
  from haystack.core.pipeline import Pipeline
  from haystack.core.component.sockets import InputSocket, OutputSocket
  from haystack.core.errors import PipelineMaxLoops, PipelineError, PipelineRuntimeError
  from haystack.testing.sample_components import AddFixedValue, Threshold, Double, Sum
  from haystack.testing.factory import component_class
label_desc: Use image node_id 11 for calling a global function with example usage: test_falsy_connection() without return types