| Index: luci_config/server/cfgclient/naming_test.go
|
| diff --git a/luci_config/server/cfgclient/naming_test.go b/luci_config/server/cfgclient/naming_test.go
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aa5c3bc94cff84fcba255a59586d61d2a37f6694
|
| --- /dev/null
|
| +++ b/luci_config/server/cfgclient/naming_test.go
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2016 The LUCI Authors. All rights reserved.
|
| +// Use of this source code is governed under the Apache License, Version 2.0
|
| +// that can be found in the LICENSE file.
|
| +
|
| +package cfgclient
|
| +
|
| +import (
|
| + "testing"
|
| +
|
| + "github.com/luci/gae/impl/memory"
|
| +
|
| + "golang.org/x/net/context"
|
| +
|
| + . "github.com/smartystreets/goconvey/convey"
|
| +)
|
| +
|
| +func TestServiceConfigSet(t *testing.T) {
|
| + t.Parallel()
|
| +
|
| + Convey(`With a testing AppEngine context`, t, func() {
|
| + c := memory.Use(context.Background())
|
| +
|
| + Convey(`Can get the current service config set.`, func() {
|
| + So(CurrentServiceConfigSet(c), ShouldEqual, "services/app")
|
| + })
|
| + })
|
| +}
|
|
|