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"`, |
}, |