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

Delta Between Two Patch Sets: mstate/state_test.go

Issue 6500089: environs/ec2: authorize internal traffic
Left Patch Set: Created 12 years, 7 months ago
Right Patch Set: environs/ec2: authorize internal traffic Created 12 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « environs/jujutest/livetests.go ('k') | state/state_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 package mstate_test 1 package mstate_test
2 2
3 import ( 3 import (
4 "fmt" 4 "fmt"
5 "labix.org/v2/mgo/bson" 5 "labix.org/v2/mgo/bson"
6 . "launchpad.net/gocheck" 6 . "launchpad.net/gocheck"
7 "launchpad.net/juju-core/charm" 7 "launchpad.net/juju-core/charm"
8 "launchpad.net/juju-core/environs/config" 8 "launchpad.net/juju-core/environs/config"
9 state "launchpad.net/juju-core/mstate" 9 state "launchpad.net/juju-core/mstate"
10 "net/url" 10 "net/url"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 current["authorized-keys"] = "i-am-a-new-key" 189 current["authorized-keys"] = "i-am-a-new-key"
190 env, err = config.New(current) 190 env, err = config.New(current)
191 c.Assert(err, IsNil) 191 c.Assert(err, IsNil)
192 err = s.State.SetEnvironConfig(env) 192 err = s.State.SetEnvironConfig(env)
193 c.Assert(err, IsNil) 193 c.Assert(err, IsNil)
194 env, err = s.State.EnvironConfig() 194 env, err = s.State.EnvironConfig()
195 c.Assert(err, IsNil) 195 c.Assert(err, IsNil)
196 final := env.AllAttrs() 196 final := env.AllAttrs()
197 c.Assert(final, DeepEquals, current) 197 c.Assert(final, DeepEquals, current)
198 } 198 }
LEFTRIGHT

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