~juju/pyjuju/0.7

« back to all changes in this revision

Viewing changes to juju/unit/tests/test_lifecycle.py

  • Committer: Kapil Thangavelu
  • Date: 2013-01-31 16:22:57 UTC
  • Revision ID: kapil@canonical.com-20130131162257-2nf7w15de2juelfd
[trivial] serialized execution test propogation

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
                                             level=logging.DEBUG)
65
65
        self.agent_log = self.capture_logging("unit-agent",
66
66
                                              level=logging.DEBUG)
 
67
        self.patch(
 
68
            HookExecutor,
 
69
            "LOCK_PATH",
 
70
            os.path.join(self.makeDir(), "hook.lock"))
67
71
        self.executor = HookExecutor()
68
72
        self.executor.start()
69
73
        self.change_environment(