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

Issue 13341051: juju: don't mock defaultConfigStore

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by rog
Modified:
10 years, 7 months ago
Reviewers:
mue, mp+186590
Visibility:
Public.

Description

juju: don't mock defaultConfigStore Since we're using an intermediate function for testing anyway, we can pass it the ConfigStorage object explicitly rather than patching a global variable. https://code.launchpad.net/~rogpeppe/juju-core/402-juju-no-default-configstore/+merge/186590 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : juju: don't mock defaultConfigStore #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -53 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M juju/api.go View 3 chunks +18 lines, -21 lines 0 comments Download
M juju/apiconn_test.go View 12 chunks +29 lines, -31 lines 0 comments Download
M juju/export_test.go View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 2
rog
Please take a look.
10 years, 7 months ago (2013-09-19 17:13:33 UTC) #1
mue
10 years, 7 months ago (2013-09-19 17:28:25 UTC) #2
Nice, much cleaner now. LGTM
Sign in to reply to this message.

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