~jasper-aikema/charms/trusty/haproxy/enable-multiple-relations

« back to all changes in this revision

Viewing changes to hooks/tests/test_config_changed_hooks.py

  • Committer: David Ames
  • Date: 2014-05-27 22:43:44 UTC
  • mfrom: (77.2.5 haproxy)
  • Revision ID: david.ames@canonical.com-20140527224344-jw7wtu9uts04nb1y
[james_w,r=dames] Allow sending haproxy metrics to external statsd service.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
            "update_sysctl")
30
30
        self.notify_website = self.patch_hook("notify_website")
31
31
        self.notify_peer = self.patch_hook("notify_peer")
 
32
        self.write_metrics_cronjob = self.patch_hook("write_metrics_cronjob")
32
33
        self.log = self.patch_hook("log")
33
34
        sys_exit = patch.object(sys, "exit")
34
35
        self.sys_exit = sys_exit.start()