blob: fd2d46a0edb1c4fea09dbccc65ae7a5ddfdfac15 [file] [log] [blame]
package services
import (
"testing"
"github.com/rackspace/gophercloud"
)
func TestGetListURL(t *testing.T) {
client := gophercloud.ServiceClient{Endpoint: "http://localhost:5000/v3/"}
url := getListURL(&client)
if url != "http://localhost:5000/v3/services" {
t.Errorf("Unexpected list URL generated: [%s]", url)
}
}