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