func TestDeleteInstance(t *testing.T) { th.SetupHTTP() defer th.TeardownHTTP() HandleDelete(t) res := instances.Delete(fake.ServiceClient(), instanceID) th.AssertNoErr(t, res.Err) }
func (c context) deleteInstance() { err := instances.Delete(c.client, c.instanceID).ExtractErr() c.AssertNoErr(err) c.Logf("Deleted instance %s", c.instanceID) }