github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/acceptance/openstack/fgs/v2/quota_test.go (about) 1 package v2 2 3 import ( 4 "testing" 5 6 "github.com/opentelekomcloud/gophertelekomcloud/acceptance/clients" 7 "github.com/opentelekomcloud/gophertelekomcloud/acceptance/tools" 8 "github.com/opentelekomcloud/gophertelekomcloud/openstack/fgs/v2/quotas" 9 th "github.com/opentelekomcloud/gophertelekomcloud/testhelper" 10 ) 11 12 func TestFunctionGraphQuotas(t *testing.T) { 13 client, err := clients.NewFuncGraphClient() 14 th.AssertNoErr(t, err) 15 16 listQuotasResp, err := quotas.ListQuotas(client) 17 th.AssertNoErr(t, err) 18 tools.PrintResource(t, listQuotasResp) 19 }