Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: impl/memory/info_test.go

Issue 2957413002: Info Memory: Implement dummy ServiceAccount() (Closed)
Patch Set: review Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « impl/memory/info.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/info_test.go
diff --git a/impl/memory/info_test.go b/impl/memory/info_test.go
index 3bfdca2630c2541580f70d80b507c60ac1c52eff..c71ca434cff991efc8eb930d6807a89dc05c2d3e 100644
--- a/impl/memory/info_test.go
+++ b/impl/memory/info_test.go
@@ -21,6 +21,9 @@ func TestMustNamespace(t *testing.T) {
So(info.AppID(c), ShouldEqual, "app-id")
So(info.FullyQualifiedAppID(c), ShouldEqual, "dev~app-id")
So(info.RequestID(c), ShouldEqual, "test-request-id")
+ sa, err := info.ServiceAccount(c)
+ So(err, ShouldBeNil)
+ So(sa, ShouldEqual, "gae_service_account@example.com")
// Setting to "override" applies to initial context.
c = info.GetTestable(c).SetRequestID("override")
« no previous file with comments | « impl/memory/info.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698