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

Unified Diff: cmd/juju/deploy_test.go

Issue 10083047: state: Service ConfigSettings methods
Patch Set: state: Service ConfigSettings methods Created 10 years, 9 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 | « cmd/juju/deploy.go ('k') | cmd/juju/set.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmd/juju/deploy_test.go
=== modified file 'cmd/juju/deploy_test.go'
--- cmd/juju/deploy_test.go 2013-05-27 03:00:31 +0000
+++ cmd/juju/deploy_test.go 2013-06-11 00:58:34 +0000
@@ -37,6 +37,12 @@
args: []string{"craziness", "burble1", "-n", "0"},
err: `must deploy at least one unit`,
}, {
+ args: []string{"craziness", "burble1", "--force-machine", "bigglesplop"},
+ err: `invalid machine id "bigglesplop"`,
+ }, {
+ args: []string{"craziness", "burble1", "-n", "2", "--force-machine", "123"},
+ err: `cannot use --num-units with --force-machine`,
+ }, {
args: []string{"craziness", "burble1", "--constraints", "gibber=plop"},
err: `invalid value "gibber=plop" for flag --constraints: unknown constraint "gibber"`,
},
« no previous file with comments | « cmd/juju/deploy.go ('k') | cmd/juju/set.go » ('j') | no next file with comments »

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