code: def test_validate_pipeline_input_only_expected_input_is_present_and_defaults_dont_interfere():
      pipe = Pipeline()
      pipe.add_component("comp1", AddFixedValue(add=10))
      pipe.add_component("comp2", Double())
      pipe.connect("comp1", "comp2")
      assert pipe.run({"comp1": {"value": 1, "add": 5}}) == {
          "comp2": {"value": 12}
      }
  
imports: from typing import Optional
  import pytest
  from haystack.core.pipeline import Pipeline
  from haystack.core.component.types import Variadic
  from haystack.core.errors import PipelineValidationError
  from haystack.core.component.sockets import InputSocket, OutputSocket
  from haystack.core.pipeline.descriptions import find_pipeline_inputs, find_pipeline_outputs
  from haystack.testing.sample_components import Double, AddFixedValue, Sum, Parity
label_desc: Use image node_id 19 for calling a global function with example usage: test_validate_pipeline_input_only_expected_input_is_present_and_defaults_dont_interfere() without return types