import copy


def raw_device(request, raw_devices):
  """Returns a copy of a single device, given name, from the `dict` returned by `raw_devices`."""
  return copy.deepcopy(raw_devices[request.param])