Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame^] | 1 | package quotas |
2 | |||||
3 | import ( | ||||
4 | th "github.com/rackspace/gophercloud/testhelper" | ||||
5 | "github.com/rackspace/gophercloud/testhelper/client" | ||||
6 | "testing" | ||||
7 | ) | ||||
8 | |||||
9 | func 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) | ||||
15 | th.CheckDeepEquals(t, &FirstQuota, actual) | ||||
16 | } |