blob: c924ac6c0cdc1efe9ff472893f64f85b93f02abe [file] [log] [blame]
// +build acceptance
package v3
import (
"testing"
endpoints3 "github.com/rackspace/gophercloud/openstack/identity/v3/endpoints"
)
func TestListEndpoints(t *testing.T) {
// Create a service client.
serviceClient := createAuthenticatedClient(t)
// Use the service to list all available endpoints.
_, err := endpoints3.List(serviceClient, endpoints3.ListOpts{})
if err != nil {
t.Errorf("Unexpected error while listing endpoints: %v", err)
}
}