github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/sfs/v2/common/common_tests.go (about) 1 package common 2 3 import ( 4 "github.com/huaweicloud/golangsdk" 5 "github.com/huaweicloud/golangsdk/testhelper/client" 6 ) 7 8 const TokenID = client.TokenID 9 10 // Fake project id to use. 11 const ProjectID = "17fbda95add24720a4038ba4b1c705ed" 12 13 func ServiceClient() *golangsdk.ServiceClient { 14 sc := client.ServiceClient() 15 sc.ResourceBase = sc.Endpoint + "v2/" 16 sc.ProjectID = ProjectID 17 return sc 18 }