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

Issue 7231080: environs/*: simplify config tests

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by rog
Modified:
11 years, 1 month ago
Reviewers:
jameinel, dave, fwereade, dimitern, jtv.canonical, mp+146190
Visibility:
Public.

Description

environs/*: simplify config tests This is an alternative to factoring out the common code (as in https://codereview.appspot.com/7225082). Most of the code was unnecessary, so the factoring is perhaps no longer so compelling. https://code.launchpad.net/~rogpeppe/juju-core/208-simplify-config-tests/+merge/146190 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/*: simplify config tests #

Total comments: 2

Patch Set 3 : environs/*: simplify config tests #

Patch Set 4 : environs/*: simplify config tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -41 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M environs/ec2/config_test.go View 1 2 3 chunks +11 lines, -22 lines 0 comments Download
A environs/jujutest/check.go View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M environs/openstack/config_test.go View 1 2 3 chunks +12 lines, -19 lines 0 comments Download

Messages

Total messages: 8
rog
Please take a look.
11 years, 3 months ago (2013-02-01 17:52:37 UTC) #1
dimitern
Even better! LGTM
11 years, 3 months ago (2013-02-01 17:55:16 UTC) #2
jameinel
I wonder if we are removing test coverage accidentally. If it is already covered elsewhere, ...
11 years, 3 months ago (2013-02-02 16:32:59 UTC) #3
rog
Please take a look. https://codereview.appspot.com/7231080/diff/2001/environs/ec2/config_test.go File environs/ec2/config_test.go (left): https://codereview.appspot.com/7231080/diff/2001/environs/ec2/config_test.go#oldcode71 environs/ec2/config_test.go:71: c.Check(err, IsNil) On 2013/02/02 16:32:59, ...
11 years, 3 months ago (2013-02-04 14:02:43 UTC) #4
fwereade
LGTM
11 years, 3 months ago (2013-02-04 15:11:44 UTC) #5
fwereade
On 2013/02/04 15:11:44, fwereade wrote: > LGTM (but please sync up with jtv and find ...
11 years, 3 months ago (2013-02-04 16:01:25 UTC) #6
jtv.canonical
Two points: 1. Don't forget to update environs/openstack/config_test.go as well. 2. I think this is ...
11 years, 3 months ago (2013-02-05 02:53:10 UTC) #7
dave_cheney.net
11 years, 1 month ago (2013-03-13 01:09:57 UTC) #8
LGTM. Thank you.
Sign in to reply to this message.

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