code: def pytest_generate_tests(metafunc):
      # This is called for every test. Only get/set command line arguments
      # if the argument is specified in the list of test "fixturenames".
      option_value = metafunc.config.option.device
      if "device" in metafunc.fixturenames and option_value is not None:
          metafunc.parametrize("device", [option_value])
  
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_generate_tests(metafunc) without return types