ehdou | b5066cd | 2016-11-10 22:15:42 +0200 | [diff] [blame^] | 1 | package v2 |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
| 6 | "github.com/gophercloud/gophercloud/acceptance/clients" |
| 7 | ) |
| 8 | |
| 9 | func TestSecurityServiceCreate(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 | securityService, err := CreateSecurityService(t, client) |
| 16 | if err != nil { |
| 17 | t.Fatalf("Unable to create security service: %v", err) |
| 18 | } |
| 19 | |
| 20 | // TODO: Delete the security service once Delete is supported |
| 21 | |
| 22 | PrintSecurityService(t, securityService) |
| 23 | } |