def METHOD_NAME(self, mock_is_built_with_cuda, mock_is_built_with_rocm):
    mock_is_built_with_cuda.return_value = False
    mock_is_built_with_rocm.return_value = False
    gpus = local.get_gpus()
    self.assertIsNone(gpus)