blob: ec55cc7e25e07fd1d8bc41c07cb0698334860951 [file] [log] [blame]
Dan Kirkwoodceb84092016-03-01 13:58:34 -07001package quotas
2
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)
15 th.CheckDeepEquals(t, &FirstQuota, actual)
16}