Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Issue 8551047: Make FakeHome respect JUJU_HOME.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by thumper
Modified:
12 years, 5 months ago
Reviewers:
dimitern, mp+160256, TheMue
Visibility:
Public.

Description

Make FakeHome respect JUJU_HOME. Initial work was to fix bug 1171671. However I then realised that I was wrong. However I have cleaned up the FakeHome code to move JUJU_HOME out of the say for the duration of the FakeHome existing. I also finally got around to unifying the fakeHomes. The last remaining fakeHome was in config tests, and it needed to handle files, so the testing.FakeHome now has that facility. https://code.launchpad.net/~thumper/juju-core/fix-fake-home-with-juju-home-set/+merge/160256 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : Make FakeHome respect JUJU_HOME. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -77 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M environs/config/config_test.go View 11 chunks +19 lines, -72 lines 0 comments Download
M testing/environ.go View 3 chunks +55 lines, -5 lines 0 comments Download
A testing/environ_test.go View 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 5
thumper
Please take a look.
12 years, 5 months ago (2013-04-23 03:48:01 UTC) #1
dimitern
LGTM, thanks for the improvement, just a small suggestion. https://codereview.appspot.com/8551047/diff/1/testing/environ.go File testing/environ.go (right): https://codereview.appspot.com/8551047/diff/1/testing/environ.go#newcode125 testing/environ.go:125: ...
12 years, 5 months ago (2013-04-23 11:07:29 UTC) #2
TheMue
LGTM with some small notes. https://codereview.appspot.com/8551047/diff/1/testing/environ.go File testing/environ.go (right): https://codereview.appspot.com/8551047/diff/1/testing/environ.go#newcode52 testing/environ.go:52: files []TestFile Maybe a ...
12 years, 5 months ago (2013-04-23 11:40:27 UTC) #3
thumper
https://codereview.appspot.com/8551047/diff/1/testing/environ.go File testing/environ.go (right): https://codereview.appspot.com/8551047/diff/1/testing/environ.go#newcode52 testing/environ.go:52: files []TestFile On 2013/04/23 11:40:27, TheMue wrote: > Maybe ...
12 years, 5 months ago (2013-04-26 01:34:26 UTC) #4
thumper
12 years, 5 months ago (2013-04-26 01:42:33 UTC) #5
*** Submitted:

Make FakeHome respect JUJU_HOME.

Initial work was to fix bug 1171671.  However I then realised that I was
wrong. However I have cleaned up the FakeHome code to move JUJU_HOME out of
the say for the duration of the FakeHome existing.  I also finally got around
to unifying the fakeHomes.  The last remaining fakeHome was in config tests,
and it needed to handle files, so the testing.FakeHome now has that facility.

R=dimitern, TheMue
CC=
https://codereview.appspot.com/8551047
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b