Dan Kirkwood | c0a8099 | 2016-03-07 13:47:25 -0700 | [diff] [blame] | 1 | package quotasets |
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 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) |
Dan Kirkwood | 7e8d8ed | 2016-03-08 14:05:57 -0700 | [diff] [blame^] | 15 | th.CheckDeepEquals(t, &FirstQuotaSet, actual) |
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 16 | } |