Jon Perritt | d9a4bf7 | 2014-10-23 23:44:04 -0500 | [diff] [blame] | 1 | package bootfromvolume |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
Jon Perritt | 27249f4 | 2016-02-18 10:35:59 -0600 | [diff] [blame] | 6 | th "github.com/gophercloud/gophercloud/testhelper" |
| 7 | "github.com/gophercloud/gophercloud/testhelper/client" |
Jon Perritt | d9a4bf7 | 2014-10-23 23:44:04 -0500 | [diff] [blame] | 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 | } |