Fix for issue#533
diff --git a/openstack/blockstorage/v1/apiversions/urls_test.go b/openstack/blockstorage/v1/apiversions/urls_test.go
index 37e9142..68cfb8c 100644
--- a/openstack/blockstorage/v1/apiversions/urls_test.go
+++ b/openstack/blockstorage/v1/apiversions/urls_test.go
@@ -8,11 +8,16 @@
)
const endpoint = "http://localhost:57909/"
+const endpoint2 = "http://localhost:57909/v1/3a02ee0b5cf14816b41b17e851d29a94"
func endpointClient() *gophercloud.ServiceClient {
return &gophercloud.ServiceClient{Endpoint: endpoint}
}
+func endpointClient2() *gophercloud.ServiceClient {
+ return &gophercloud.ServiceClient{Endpoint: endpoint2}
+}
+
func TestGetURL(t *testing.T) {
actual := getURL(endpointClient(), "v1")
expected := endpoint + "v1/"
@@ -20,7 +25,7 @@
}
func TestListURL(t *testing.T) {
- actual := listURL(endpointClient())
+ actual := listURL(endpointClient2())
expected := endpoint
th.AssertEquals(t, expected, actual)
}