blob: ec55cc7e25e07fd1d8bc41c07cb0698334860951 [file] [log] [blame]
package quotas
import (
th "github.com/rackspace/gophercloud/testhelper"
"github.com/rackspace/gophercloud/testhelper/client"
"testing"
)
func TestGet(t *testing.T) {
th.SetupHTTP()
defer th.TeardownHTTP()
HandleGetSuccessfully(t)
actual, err := Get(client.ServiceClient(), FirstTenantID).Extract()
th.AssertNoErr(t, err)
th.CheckDeepEquals(t, &FirstQuota, actual)
}