~nskaggs/juju-ci-tools/add-essential-operations

« back to all changes in this revision

Viewing changes to tests/test_chaos.py

Remove EnvJujuClient.by_version, switch callers to client_from_config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
from jujupy import (
21
21
    EnvJujuClient,
22
22
    JujuData,
23
 
    SimpleEnvironment,
24
23
    )
25
24
from remote import SSHRemote
26
25
from tests import FakeHomeTestCase
29
28
    )
30
29
 
31
30
 
32
 
def fake_EnvJujuClient_by_version(env, path=None, debug=None):
33
 
    return EnvJujuClient(env=env, version='1.2.3.4', full_path=path)
34
 
 
35
 
 
36
 
def fake_SimpleEnvironment_from_config(name):
37
 
    return SimpleEnvironment(name, {})
38
 
 
39
 
 
40
31
class TestBackgroundChaos(FakeHomeTestCase):
41
32
 
42
33
    def test_background_chaos(self):