Merge lp:~arges/charm-helpers/fix-lp1308557 into lp:charm-helpers

Proposed by Chris J Arges
Status: Merged
Merged at revision: 143
Proposed branch: lp:~arges/charm-helpers/fix-lp1308557
Merge into: lp:charm-helpers
Diff against target: 33 lines (+3/-3)
2 files modified
charmhelpers/fetch/__init__.py (+1/-1)
tests/fetch/test_fetch.py (+2/-2)
To merge this branch: bzr merge lp:~arges/charm-helpers/fix-lp1308557
Reviewer Review Type Date Requested Status
Marco Ceppi Approve
Review via email: mp+216116@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Edward Hope-Morley (hopem) wrote :

Chris this LTGM. Please confirm that is has bee tested. I see that you have synced this into a couple of charms so if they work fine then we can ship this.

Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

OK, all tests are passing.

---------------------------------------------------------------------------
TOTAL 2917 220 92%
----------------------------------------------------------------------
Ran 595 tests in 2.259s

OK

PS: test_requirements are not working properly. Proposed MR on this; https://code.launchpad.net/~niedbalski/charm-helpers/fix-test_requirements/+merge/216902

Revision history for this message
Marco Ceppi (marcoceppi) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'charmhelpers/fetch/__init__.py'
--- charmhelpers/fetch/__init__.py 2014-03-20 13:26:03 +0000
+++ charmhelpers/fetch/__init__.py 2014-04-16 14:02:53 +0000
@@ -184,7 +184,7 @@
184 apt.write(PROPOSED_POCKET.format(release))184 apt.write(PROPOSED_POCKET.format(release))
185 if key:185 if key:
186 subprocess.check_call(['apt-key', 'adv', '--keyserver',186 subprocess.check_call(['apt-key', 'adv', '--keyserver',
187 'keyserver.ubuntu.com', '--recv',187 'hkp://keyserver.ubuntu.com:80', '--recv',
188 key])188 key])
189189
190190
191191
=== modified file 'tests/fetch/test_fetch.py'
--- tests/fetch/test_fetch.py 2014-03-26 10:26:36 +0000
+++ tests/fetch/test_fetch.py 2014-04-16 14:02:53 +0000
@@ -181,7 +181,7 @@
181 fetch.add_source(source=source, key=key)181 fetch.add_source(source=source, key=key)
182 check_call.assert_has_calls([182 check_call.assert_has_calls([
183 call(['add-apt-repository', '--yes', source]),183 call(['add-apt-repository', '--yes', source]),
184 call(['apt-key', 'adv', '--keyserver', 'keyserver.ubuntu.com',184 call(['apt-key', 'adv', '--keyserver', 'hkp://keyserver.ubuntu.com:80',
185 '--recv', key])185 '--recv', key])
186 ])186 ])
187187
@@ -192,7 +192,7 @@
192 fetch.add_source(source=source, key=key)192 fetch.add_source(source=source, key=key)
193 check_call.assert_has_calls([193 check_call.assert_has_calls([
194 call(['add-apt-repository', '--yes', source]),194 call(['add-apt-repository', '--yes', source]),
195 call(['apt-key', 'adv', '--keyserver', 'keyserver.ubuntu.com',195 call(['apt-key', 'adv', '--keyserver', 'hkp://keyserver.ubuntu.com:80',
196 '--recv', key])196 '--recv', key])
197 ])197 ])
198198

Subscribers

People subscribed via source and target branches