| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. |
| 4 |
| 5 package cfgclient |
| 6 |
| 7 import ( |
| 8 "testing" |
| 9 |
| 10 "github.com/luci/gae/impl/memory" |
| 11 |
| 12 "golang.org/x/net/context" |
| 13 |
| 14 . "github.com/smartystreets/goconvey/convey" |
| 15 ) |
| 16 |
| 17 func TestServiceConfigSet(t *testing.T) { |
| 18 t.Parallel() |
| 19 |
| 20 Convey(`With a testing AppEngine context`, t, func() { |
| 21 c := memory.Use(context.Background()) |
| 22 |
| 23 Convey(`Can get the current service config set.`, func() { |
| 24 So(CurrentServiceConfigSet(c), ShouldEqual, "services/ap
p") |
| 25 }) |
| 26 }) |
| 27 } |
| OLD | NEW |