| 1 |
package slb |
| 2 |
|
| 3 |
import "testing" |
| 4 |
|
| 5 |
func TestDescribeRegions(t *testing.T) { |
| 6 |
|
| 7 |
client := NewTestNewSLBClientForDebug() |
| 8 |
|
| 9 |
regions, err := client.DescribeRegions() |
| 10 |
|
| 11 |
if err == nil { |
| 12 |
t.Logf("regions: %v", regions) |
| 13 |
} else { |
| 14 |
t.Errorf("Failed to DescribeRegions: %v", err) |
| 15 |
} |
| 16 |
|
| 17 |
} |