code: def test_plot_props(dvc):
      props = {"x": "1"}
      stage = create_stage(
          PipelineStage, dvc, plots=["plot_file"], **kwargs
      )
      stage.outs[0].plot = props
  
      assert to_pipeline_file(stage)["something"][
          stage.PARAM_PLOTS
      ] == [{"plot_file": props}]
  
imports: import os
  import pytest
  from voluptuous import Schema
  from dvc import output
  from dvc.dvcfile import PROJECT_FILE
  from dvc.schema import SINGLE_PIPELINE_STAGE_SCHEMA
  from dvc.stage import PipelineStage, create_stage
  from dvc.stage.serialize import to_pipeline_file
label_desc: Use image node_id 10 for calling a global function with example usage: test_plot_props(dvc) without return types