Debian Codegraph @

location/config_test.go

raw symbols SCIP
1 package location
2
3 const (
4 TestAccessKeyId = "MY_ACCESS_KEY_ID"
5 TestAccessKeySecret = "MY_ACCESS_KEY_SECRET"
6 )
7
8 var testClient *Client
9
10 func NewTestClient() *Client {
11 if testClient == nil {
12 testClient = NewClient(TestAccessKeyId, TestAccessKeySecret)
13 }
14 return testClient
15 }
16
17 var testDebugClient *Client
18
19 func NewTestClientForDebug() *Client {
20 if testDebugClient == nil {
21 testDebugClient = NewClient(TestAccessKeyId, TestAccessKeySecret)
22 testDebugClient.SetDebug(true)
23 }
24 return testDebugClient
25 }