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

Issue 8584043: Refactor environs/openstack/config_test.go (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by Danilo
Modified:
11 years ago
Reviewers:
mp+157923
Visibility:
Public.

Description

Refactor environs/openstack/config_test.go Clean up OpenStack config_test.go to define all the tests using configTests array, including those that override environment variables. https://code.launchpad.net/~danilo/juju-core/refactor-openstack-config-tests/+merge/157923 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 7

Patch Set 2 : Refactor environs/openstack/config_test.go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -93 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M environs/ec2/config_test.go View 1 1 chunk +2 lines, -0 lines 0 comments Download
M environs/openstack/config_test.go View 1 7 chunks +72 lines, -93 lines 0 comments Download

Messages

Total messages: 5
Danilo
Please take a look.
11 years ago (2013-04-09 17:22:42 UTC) #1
dimitern
Nice, LGTM modulo the trivials below. (Since you're new, just a short explanation, if you ...
11 years ago (2013-04-09 17:41:55 UTC) #2
niemeyer
LGTM assuming the following changes: https://codereview.appspot.com/8584043/diff/1/environs/openstack/config_test.go File environs/openstack/config_test.go (right): https://codereview.appspot.com/8584043/diff/1/environs/openstack/config_test.go#newcode93 environs/openstack/config_test.go:93: } defer restoreEnvVars(savedVars) https://codereview.appspot.com/8584043/diff/1/environs/openstack/config_test.go#newcode114 ...
11 years ago (2013-04-09 18:18:16 UTC) #3
Danilo
As we discussed on IRC, it's not as simple as using the right type. It ...
11 years ago (2013-04-09 18:19:06 UTC) #4
Danilo
11 years ago (2013-04-09 18:37:34 UTC) #5
*** Submitted:

Refactor environs/openstack/config_test.go

Clean up OpenStack config_test.go to define all the tests using configTests
array, including those that override environment variables.

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

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