Jon Perritt | d9a4bf7 | 2014-10-23 23:44:04 -0500 | [diff] [blame] | 1 | package bootfromvolume |
2 | |||||
3 | import ( | ||||
4 | "testing" | ||||
5 | |||||
6 | th "github.com/rackspace/gophercloud/testhelper" | ||||
7 | "github.com/rackspace/gophercloud/testhelper/client" | ||||
8 | ) | ||||
9 | |||||
10 | func TestCreateURL(t *testing.T) { | ||||
11 | th.SetupHTTP() | ||||
12 | defer th.TeardownHTTP() | ||||
13 | c := client.ServiceClient() | ||||
14 | |||||
15 | th.CheckEquals(t, c.Endpoint+"os-volumes_boot", createURL(c)) | ||||
16 | } |