ehdou | 10f1f85 | 2016-10-14 20:58:23 +0300 | [diff] [blame^] | 1 | package v2 |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
| 6 | "github.com/gophercloud/gophercloud/acceptance/clients" |
| 7 | ) |
| 8 | |
| 9 | func TestShareNetworkCreate(t *testing.T) { |
| 10 | client, err := clients.NewSharedFileSystemV2Client() |
| 11 | if err != nil { |
| 12 | t.Fatalf("Unable to create shared file system client: %v", err) |
| 13 | } |
| 14 | |
| 15 | shareNetwork, err := CreateShareNetwork(t, client) |
| 16 | if err != nil { |
| 17 | t.Fatalf("Unable to create share network: %v", err) |
| 18 | } |
| 19 | |
| 20 | // TODO: delete the share network when the delete is implemented |
| 21 | |
| 22 | PrintShareNetwork(t, shareNetwork) |
| 23 | } |