~sseman/juju-ci-tools/assess-min-version

« back to all changes in this revision

Viewing changes to bootstrap

  • Committer: Aaron Bentley
  • Date: 2016-03-18 14:47:06 UTC
  • mto: This revision was merged to the branch mainline in revision 1324.
  • Revision ID: aaron.bentley@canonical.com-20160318144706-z7wy9c21m3psi6g5
Introduce set_model_name, update tests, check controller on bootstrap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    args = parser.parse_args()
23
23
    env = SimpleEnvironment.from_config(args.env)
24
24
    if args.name is not None:
25
 
        env.environment = args.name
 
25
        env.set_model_name(args.name)
26
26
    for option in args.option:
27
27
        key, value = option.split('=', 1)
28
28
        env.config[key] = value