(t *testing.T)
| 111 | } |
| 112 | |
| 113 | func TestPodBadObjects(t *testing.T) { |
| 114 | objects := []deploy.KubeObject{ |
| 115 | nil, // illegal |
| 116 | } |
| 117 | _, err := NewPod(testNewKubePod("bad"), kube.ObjectMeta{}, "", objects...) |
| 118 | assert.Error(t, err, "bad objects") |
| 119 | } |
| 120 | |
| 121 | func TestPodFromPodSpec(t *testing.T) { |
| 122 | spec := kube.PodSpec{ |
nothing calls this directly
no test coverage detected