~therve/pyjuju/rapi-uuid

« back to all changes in this revision

Viewing changes to juju/hooks/tests/test_executor.py

  • Committer: Thomas Hervé
  • Date: 2013-01-17 10:37:42 UTC
  • mfrom: (556.1.52 juju)
  • Revision ID: thomas@canonical.com-20130117103742-a50xid22udignltq
Merge from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
        log = logging.getLogger("invoker")
208
208
        # Populate environment variables for default invoker.
209
209
        self.change_environment(
210
 
            JUJU_UNIT_NAME="dummy/1", PATH="/bin/:/usr/bin")
 
210
            JUJU_UNIT_NAME="dummy/1",
 
211
            JUJU_ENV_UUID="snowflake",
 
212
            PATH="/bin/:/usr/bin")
211
213
        output = self.capture_logging("invoker", level=logging.DEBUG)
212
214
        invoker = Invoker(
213
215
            None, None, "constant", self.makeFile(), unit_dir, log)