(t *testing.T)
| 155 | } |
| 156 | |
| 157 | func TestIAMMalformedEndpoint(t *testing.T) { |
| 158 | creds := NewIAM("%%%%") |
| 159 | _, err := creds.GetWithContext(defaultCredContext) |
| 160 | if err == nil { |
| 161 | t.Fatal("Unexpected should fail here") |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | func TestIAMFailServer(t *testing.T) { |
| 166 | server := initTestFailServer() |
nothing calls this directly
no test coverage detected