MCPcopy Index your code
hub / github.com/redspread/spread / TestRCInvalid

Function TestRCInvalid

pkg/entity/replicationcontroller_test.go:18–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

16}
17
18func TestRCInvalid(t *testing.T) {
19 kubeRC := new(kube.ReplicationController)
20 _, err := NewReplicationController(kubeRC, kube.ObjectMeta{}, "")
21 assert.Error(t, err, "invalid rc")
22}
23
24func TestRCNoPod(t *testing.T) {
25 kubeRC := kube.ReplicationController{

Callers

nothing calls this directly

Calls 1

NewReplicationControllerFunction · 0.85

Tested by

no test coverage detected