| 1 | package ecs |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | ) |
| 6 | |
| 7 | func TestDescribeInstanceTypes(t *testing.T) { |
| 8 | |
| 9 | client := NewTestClient() |
| 10 | instanceTypes, err := client.DescribeInstanceTypes() |
| 11 | if err != nil { |
| 12 | t.Fatalf("Failed to DescribeInstanceTypes: %v", err) |
| 13 | } |
| 14 | for _, instanceType := range instanceTypes { |
| 15 | t.Logf("InstanceType: %++v", instanceType) |
| 16 | } |
| 17 | } |