Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 1 | package quotas |
2 | |||||
3 | import ( | ||||
4 | "testing" | ||||
5 | |||||
6 | th "github.com/rackspace/gophercloud/testhelper" | ||||
7 | "github.com/rackspace/gophercloud/testhelper/client" | ||||
8 | ) | ||||
9 | |||||
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 10 | func TestGetURL(t *testing.T) { |
11 | th.SetupHTTP() | ||||
12 | defer th.TeardownHTTP() | ||||
13 | c := client.ServiceClient() | ||||
14 | |||||
15 | th.CheckEquals(t, c.Endpoint+"os-quota-sets/wat", getURL(c, "wat")) | ||||
16 | } |