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