| 1 | package location |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
| 6 | "github.com/denverdino/aliyungo/common" |
| 7 | ) |
| 8 | |
| 9 | func TestDescribeServices(t *testing.T) { |
| 10 | client := NewTestClientForDebug() |
| 11 | |
| 12 | args := &DescribeServicesArgs{ |
| 13 | RegionId: common.Beijing, |
| 14 | } |
| 15 | |
| 16 | services, err := client.DescribeServices(args) |
| 17 | if err != nil { |
| 18 | t.Fatalf("Failed to describe services %++v", err) |
| 19 | } |
| 20 | |
| 21 | t.Logf("services is %++v", services) |
| 22 | } |