(t *testing.T)
| 1027 | } |
| 1028 | |
| 1029 | func TestInstallWithSystemLabels(t *testing.T) { |
| 1030 | is := assert.New(t) |
| 1031 | instAction := installAction(t) |
| 1032 | instAction.Labels = map[string]string{ |
| 1033 | "owner": "val1", |
| 1034 | "key2": "val2", |
| 1035 | } |
| 1036 | _, err := instAction.Run(buildChart(), nil) |
| 1037 | if err == nil { |
| 1038 | t.Fatal("expected an error") |
| 1039 | } |
| 1040 | |
| 1041 | is.Equal(fmt.Errorf("user supplied labels contains system reserved label name. System labels: %+v", driver.GetSystemLabels()), err) |
| 1042 | } |
| 1043 | |
| 1044 | func TestUrlEqual(t *testing.T) { |
| 1045 | is := assert.New(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…