~sseman/juju-ci-tools/model-change-watcher-py3-2

« back to all changes in this revision

Viewing changes to industrial_test.py

  • Committer: Aaron Bentley
  • Date: 2016-11-01 19:27:30 UTC
  • mto: (1699.2.2 indirect-config-6)
  • mto: This revision was merged to the branch mainline in revision 1710.
  • Revision ID: aaron.bentley@canonical.com-20161101192730-url0jds9n0scf5u6
Convert direct config access to get_option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
729
729
                application = 'ubuntu{}x{}'.format(machine_name, container)
730
730
                # Work around bug #1540900: juju deploy ignores model
731
731
                # default-series
732
 
                series = client.env.config['default-series']
 
732
                series = client.env.get_option('default-series')
733
733
                client.deploy('ubuntu', service=application, to=target,
734
734
                              series=series)
735
735
                application_names.append(application)