def METHOD_NAME(self):
    """
    Test GPU settings and the 'getGPURequired' and 'getGPURequirements' methods
    """
    # create a standard step object - without the CMSSW template applied
    wmStep = makeWMStep("step1")
    self.assertIsNone(wmStep.stepType())
    self.assertFalse(hasattr(wmStep.data, "gpu"))
    self.assertIsNone(wmStep.getGPURequired())
    # now apply the CMSSW template
    wmStep.setStepType("CMSSW")
    self.assertEqual(wmStep.stepType(), "CMSSW")
    template = StepFactory.getStepTemplate("CMSSW")
    template(wmStep.data)
    wmStepHelper = wmStep.getTypeHelper()
    self.assertEqual(wmStepHelper.getGPURequired(), "forbidden")
    self.assertIsNone(wmStepHelper.getGPURequirements())
    gpuParams = {"GPUMemoryMB": 1234, "CUDARuntime": "11.2.3", "CUDACapabilities": ["7.5", "8.0"]}
    wmStepHelper.setGPUSettings("required", gpuParams)
    self.assertEqual(wmStepHelper.getGPURequired(), "required")
    self.assertItemsEqual(wmStepHelper.getGPURequirements(), gpuParams)
    return