Also changed to "Show"
On 05/06/14 13:16, Tim Penhey wrote:
>
> In cmd/juju/switch_test.go:
>
> > +
> > +func (*SwitchSimpleSuite) TestListEnvironmentInfoJson(c *gc.C) {
> > +	patchEnvWithUser(c, "erewhemos")
> > +	context, err := testing.RunCommand(c, &SwitchCommand{}, "--format", "json")
> > +	c.Assert(err, gc.IsNil)
> > +	output := EnvInfo{}
> > +	json.Unmarshal([]byte(testing.Stdout(context)), &output)
> > +	expected := EnvInfo{
> > +		Username:     "joe",
> > +		EnvironName:  "erewhemos",
> > +		StateServers: []string{"example.com", "kremvax.ru"},
> > +	}
> > +	c.Assert(output, gc.DeepEquals, expected)
> > +}
> > +
> > +func (*SwitchSimpleSuite) TestListEnvironmentInfoShowOldEnv(c *gc.C) {
>
> neither does this one
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/juju/juju/pull/20/files#r13420145>.
>