code: def test_invalid_params_ss(format):
      """
      Method calling Test - Made to fail by calling method in the wrong context.
      """
      stream_params = {
          "-video_source": return_testvideo_path(),
          "-vcodec": "unknown",
      }
      streamer = StreamGear(
          output="output{}".format(
              ".mpd" if format == "dash" else ".m3u8"
          ),
          format=format,
          logging=True,
          **stream_params,
      )
      streamer.transcode_source()
      streamer.terminate()
  
file_path: vidgear/vidgear/tests/streamer_tests/test_IO_ss.py
imports: import os
  import numpy
  import pytest
  import tempfile
  import subprocess
  from vidgear.gears import StreamGear
label_desc: Use image node_id 7 for calling a global function with example usage: test_invalid_params_ss(format) without return types