blob: 42662c1e3974a8d38c766347303a0ec7506fd56b [file] [log] [blame]
// +build acceptance rackspace objectstorage v1
package v1
import (
"testing"
"github.com/gophercloud/gophercloud/rackspace/objectstorage/v1/bulk"
th "github.com/gophercloud/gophercloud/testhelper"
)
func TestBulk(t *testing.T) {
c, err := createClient(t, false)
th.AssertNoErr(t, err)
var options bulk.DeleteOpts
options = append(options, "container/object1")
res := bulk.Delete(c, options)
th.AssertNoErr(t, res.Err)
body, err := res.ExtractBody()
th.AssertNoErr(t, err)
t.Logf("Response body from Bulk Delete Request: %+v\n", body)
}