blob: 4c94cade1a5f4b25a8223c8dd5dc7d6d162cc32e [file] [log] [blame]
package testing
import (
"testing"
"gerrit.mcp.mirantis.net/debian/gophercloud.git"
th "gerrit.mcp.mirantis.net/debian/gophercloud.git/testhelper"
)
func TestServiceURL(t *testing.T) {
c := &gophercloud.ServiceClient{Endpoint: "http://123.45.67.8/"}
expected := "http://123.45.67.8/more/parts/here"
actual := c.ServiceURL("more", "parts", "here")
th.CheckEquals(t, expected, actual)
}