github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/internal/acceptance/openstack/containerinfra/v1/quotas_test.go (about)

     1  //go:build acceptance || containerinfra || quotas
     2  
     3  package v1
     4  
     5  import (
     6  	"testing"
     7  
     8  	"github.com/vnpaycloud-console/gophercloud/v2/internal/acceptance/clients"
     9  	"github.com/vnpaycloud-console/gophercloud/v2/internal/acceptance/tools"
    10  	th "github.com/vnpaycloud-console/gophercloud/v2/testhelper"
    11  )
    12  
    13  func TestQuotasCRUD(t *testing.T) {
    14  	client, err := clients.NewContainerInfraV1Client()
    15  	th.AssertNoErr(t, err)
    16  
    17  	quota, err := CreateQuota(t, client)
    18  	th.AssertNoErr(t, err)
    19  	tools.PrintResource(t, quota)
    20  }