blob: e654251f8e1f035ebf2945e7f1c24f0149d78308 [file] [log] [blame]
package v2
import (
"testing"
"github.com/gophercloud/gophercloud/acceptance/clients"
)
func TestShareNetworkCreateDestroy(t *testing.T) {
client, err := clients.NewSharedFileSystemV2Client()
if err != nil {
t.Fatalf("Unable to create shared file system client: %v", err)
}
shareNetwork, err := CreateShareNetwork(t, client)
if err != nil {
t.Fatalf("Unable to create share network: %v", err)
}
PrintShareNetwork(t, shareNetwork)
defer DeleteShareNetwork(t, client, shareNetwork)
}