~juju-qa/juju-ci-tools/trunk

« back to all changes in this revision

Viewing changes to tests/test_assess_spaces_subnets.py

  • Committer: Aaron Bentley
  • Date: 2017-01-20 20:38:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1853.
  • Revision ID: aaron.bentley@canonical.com-20170120203811-wia9r70a8i9jeowb
Switch assess_spaces_subnets to ModelClient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
import assess_spaces_subnets as jss
13
13
from jujupy import (
14
 
    EnvJujuClient,
 
14
    ModelClient,
15
15
    JujuData,
16
16
    Status,
17
17
    )
209
209
 
210
210
class JujuMockTestCase(TestCase):
211
211
    def setUp(self):
212
 
        self.client = EnvJujuClient(
 
212
        self.client = ModelClient(
213
213
            JujuData('foo', {'type': 'local'}), '1.234-76', None)
214
214
 
215
215
        def nil_func():