123456789101112131415161718 |
- package client
- import (
- "devel.mephi.ru/iacherepanov/openstack-gophercloud"
- "devel.mephi.ru/iacherepanov/openstack-gophercloud/testhelper"
- )
- // Fake token to use.
- const TokenID = "cbc36478b0bd8e67e89469c7749d4127"
- // ServiceClient returns a generic service client for use in tests.
- func ServiceClient() *gophercloud.ServiceClient {
- return &gophercloud.ServiceClient{
- ProviderClient: &gophercloud.ProviderClient{TokenID: TokenID},
- Endpoint: testhelper.Endpoint(),
- }
- }
|