Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1081)

Unified Diff: state/environ_test.go

Issue 50090044: Add the environment name to the hooks context.
Patch Set: Add the environment name to the hooks context. Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « state/environ.go ('k') | worker/uniter/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/environ_test.go
=== modified file 'state/environ_test.go'
--- state/environ_test.go 2013-11-19 06:43:27 +0000
+++ state/environ_test.go 2014-02-03 09:44:12 +0000
@@ -28,6 +28,10 @@
c.Assert(s.env.Tag(), gc.Equals, expected)
}
+func (s *EnvironSuite) TestName(c *gc.C) {
+ c.Assert(s.env.Name(), gc.Equals, "testenv")
+}
+
func (s *EnvironSuite) TestUUID(c *gc.C) {
uuidA := s.env.UUID()
c.Assert(uuidA, gc.HasLen, 36)
« no previous file with comments | « state/environ.go ('k') | worker/uniter/context.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b