def V1PodList(amount: int) -> client.V1PodList:
  """Make Kubernetes API Pod list response, see V1PodList.

  https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1PodList.md
  """
  items = [V1Pod(name='pod-{0:d}'.format(i)) for i in range(amount)]
  return client.V1PodList(items=items)
Make Kubernetes API Pod list response, see V1PodList.

https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1PodList.md
tests/providers/kubernetes/k8s_mocks.py