blob: b5e04a98c3b9ff420f1c4fab2db29a45871a3be6 [file] [log] [blame]
Jon Perrittb5c78122014-10-15 20:44:39 -05001package cdnobjects
Jon Perritt0ba5a562014-10-15 23:23:12 -05002
3import (
4 "testing"
5
6 os "github.com/rackspace/gophercloud/openstack/objectstorage/v1/objects"
7 th "github.com/rackspace/gophercloud/testhelper"
8 fake "github.com/rackspace/gophercloud/testhelper/client"
9)
10
11func TestDeleteCDNObject(t *testing.T) {
12 th.SetupHTTP()
13 defer th.TeardownHTTP()
14 os.HandleDeleteObjectSuccessfully(t)
15
Jon Perritt260e0882014-10-20 23:31:23 -050016 res := Delete(fake.ServiceClient(), "testContainer", "testObject", nil)
17 th.AssertNoErr(t, res.Err)
Jon Perritt0ba5a562014-10-15 23:23:12 -050018
19}