blob: 5d766fa774aa602387dd0ca46b9188cc569d2c75 [file] [log] [blame]
Dan Kirkwoodc0a80992016-03-07 13:47:25 -07001package quotasets
Dan Kirkwoodceb84092016-03-01 13:58:34 -07002
3import (
4 th "github.com/rackspace/gophercloud/testhelper"
5 "github.com/rackspace/gophercloud/testhelper/client"
6 "testing"
7)
8
9func TestGet(t *testing.T) {
10 th.SetupHTTP()
11 defer th.TeardownHTTP()
12 HandleGetSuccessfully(t)
13 actual, err := Get(client.ServiceClient(), FirstTenantID).Extract()
14 th.AssertNoErr(t, err)
Dan Kirkwood7e8d8ed2016-03-08 14:05:57 -070015 th.CheckDeepEquals(t, &FirstQuotaSet, actual)
Dan Kirkwoodceb84092016-03-01 13:58:34 -070016}