~andrewjbeach/juju-ci-tools/make-local-patcher

« back to all changes in this revision

Viewing changes to tests/test_chaos.py

  • Committer: Aaron Bentley
  • Date: 2016-03-18 03:02:01 UTC
  • mto: This revision was merged to the branch mainline in revision 1323.
  • Revision ID: aaron.bentley@canonical.com-20160318030201-ki8wfpaeawgh9oqz
assess_cs_staging pokes state server via admin model.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
                ('show-status', '--format', 'yaml'): status,
112
112
                }
113
113
            return output[args]
114
 
        client = EnvJujuClient(JujuData('foo', {}), '1.25.0', '/foo/juju')
 
114
        client = EnvJujuClient(JujuData('foo', {}), None, '/foo/juju')
115
115
        with patch.object(client, 'get_juju_output', side_effect=output,
116
116
                          autospec=True) as gjo_mock:
117
117
            with patch('subprocess.check_call', autospec=True) as cc_mock: