~abentley/juju-ci-tools/client-from-config-4

« back to all changes in this revision

Viewing changes to tests/test_assess_bootstrap.py

  • Committer: Curtis Hovey
  • Date: 2015-12-20 15:14:05 UTC
  • Revision ID: curtis@canonical.com-20151220151405-pm3dauunjr2978gz
skip any client-server that starts with 1.26.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
                       side_effect=lambda cls: '1.25.5')
48
48
        gjo_cxt = patch('jujupy.EnvJujuClient.get_juju_output', autospec=True,
49
49
                        return_value='')
50
 
        imc_cxt = patch('jujupy.EnvJujuClient.iter_model_clients',
51
 
                        autospec=True, return_value=[])
52
50
        env_cxt = temp_env({'environments': {'bar': {'type': 'foo'}}})
53
 
        with call_cxt, cc_cxt, gv_cxt, gjo_cxt, env_cxt, imc_cxt:
 
51
        with call_cxt, cc_cxt, gv_cxt, gjo_cxt, env_cxt:
54
52
            yield
55
53
 
56
54
    def test_assess_bootstrap_defaults(self):