~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/payload/context/status-set_test.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        c.Assert(code, gc.Equals, 0)
62
62
 
63
63
        c.Check(s.ctx.Stdout.(*bytes.Buffer).String(), gc.Equals, `
64
 
usage: payload-status-set <class> <id> <status>
65
 
purpose: update the status of a payload
66
 
 
 
64
Usage: payload-status-set <class> <id> <status>
 
65
 
 
66
Summary:
 
67
update the status of a payload
 
68
 
 
69
Details:
67
70
"payload-status-set" is used to update the current status of a registered payload.
68
71
The <class> and <id> provided must match a payload that has been previously
69
72
registered with juju using payload-register. The <status> must be one of the