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

« back to all changes in this revision

Viewing changes to tests/test_run_chaos_monkey.py

  • Committer: Curtis Hovey
  • Date: 2016-04-10 15:23:18 UTC
  • Revision ID: curtis@canonical.com-20160410152318-ntfymsv9eiw63vt2
Addedd daily streams to get_amy.py get_ami.py tests/test_get_ami.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
from jujupy import (
13
13
    EnvJujuClient,
14
14
    JujuData,
 
15
    SimpleEnvironment,
15
16
    )
16
17
from run_chaos_monkey import (
17
18
    get_args,
19
20
    )
20
21
 
21
22
 
 
23
def fake_EnvJujuClient_by_version(env, path=None, debug=None):
 
24
    return EnvJujuClient(env=env, version='1.2.3.4', full_path=path)
 
25
 
 
26
 
 
27
def fake_SimpleEnvironment_from_config(name):
 
28
    return SimpleEnvironment(name, {})
 
29
 
 
30
 
22
31
class TestRunChaosMonkey(TestCase):
23
32
 
24
33
    def test_get_args(self):