Index: cmd/juju/ssh_test.go |
=== modified file 'cmd/juju/ssh_test.go' |
--- cmd/juju/ssh_test.go 2013-02-28 00:13:00 +0000 |
+++ cmd/juju/ssh_test.go 2013-02-28 08:11:29 +0000 |
@@ -107,7 +107,7 @@ |
for _, t := range sshTests { |
c.Logf("testing juju ssh %s", t.args) |
- ctx := coretesting.Context(c) |
+ ctx := &cmd.Context{c.MkDir(), &bytes.Buffer{}, &bytes.Buffer{}, &bytes.Buffer{}} |
code := cmd.Main(&SSHCommand{}, ctx, t.args) |
c.Check(code, Equals, 0) |
c.Check(ctx.Stderr.(*bytes.Buffer).String(), Equals, "") |