Merge lp:~adeuring/charmworld/bump-charmtools-version into lp:~juju-jitsu/charmworld/trunk

Proposed by Abel Deuring
Status: Merged
Approved by: Abel Deuring
Approved revision: 417
Merged at revision: 417
Proposed branch: lp:~adeuring/charmworld/bump-charmtools-version
Merge into: lp:~juju-jitsu/charmworld/trunk
Diff against target: 42 lines (+7/-4)
2 files modified
charmworld/jobs/tests/test_proof.py (+6/-3)
requirements.txt (+1/-1)
To merge this branch: bzr merge lp:~adeuring/charmworld/bump-charmtools-version
Reviewer Review Type Date Requested Status
Juju Gui Bot continuous-integration Approve
Brad Crittenden (community) code Approve
Review via email: mp+190648@code.launchpad.net

Commit message

Use a version of the charmtools source tarball that includes checks of config.yaml

Description of the change

Testing the branch that was merged yesterday (lp:~adeuring/charmworld/use-charmtools-tarball), I noticed that version 1.0.1 of charmtools cannot yet check config.yaml files.

This branch changes the version of charmtools we want; I built a "private" tarball with this version -- waiting for an "official" release may need some patience...

Running the test suite, I noticed a failure in test_proof: the results of prrofing our test data changed. This failure is an implicit test that we now do indeed check the config.yaml files -- but it also shows that it was probably right to use a tarball as the source of charmtools, instead of using a reguler installation from a deb package that, originating from a PPA, might occasionally change and thus casuing unexpected test failures.

To post a comment you must log in.
Revision history for this message
Brad Crittenden (bac) wrote :

Looks good. Thanks.

review: Approve (code)
Revision history for this message
Juju Gui Bot (juju-gui-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'charmworld/jobs/tests/test_proof.py'
--- charmworld/jobs/tests/test_proof.py 2013-10-10 11:31:24 +0000
+++ charmworld/jobs/tests/test_proof.py 2013-10-11 13:17:40 +0000
@@ -35,7 +35,7 @@
35 ' Unknown root metadata field (dotted.name)',35 ' Unknown root metadata field (dotted.name)',
36 ' no copyright file',36 ' no copyright file',
37 ' relation ssl_website is not a map',37 ' relation ssl_website is not a map',
38 ' relation sql_db is not a map'38 ' relation sql_db is not a map',
39 ],39 ],
40 'w': [40 'w': [
41 ' Metadata is missing categories.',41 ' Metadata is missing categories.',
@@ -44,11 +44,14 @@
44 ' install not executable',44 ' install not executable',
45 ' start not executable',45 ' start not executable',
46 ' stop not executable',46 ' stop not executable',
47 ' config-changed not executable'47 ' config-changed not executable',
48 ' config.yaml: option source has an invalid type (string)',
49 (' config.yaml: option error-email has an invalid '
50 'type (string)'),
48 ],51 ],
49 'i': [52 'i': [
50 ' relation ssl_website has no hooks',53 ' relation ssl_website has no hooks',
51 ' relation sql_db has no hooks'54 ' relation sql_db has no hooks',
52 ],55 ],
53 },56 },
54 charm['proof'])57 charm['proof'])
5558
=== modified file 'requirements.txt'
--- requirements.txt 2013-10-10 11:27:55 +0000
+++ requirements.txt 2013-10-11 13:17:40 +0000
@@ -3,7 +3,7 @@
3Beaker==1.6.43Beaker==1.6.4
4bzr==2.5.14bzr==2.5.1
5Chameleon==2.5.15Chameleon==2.5.1
6charmtools==1.0.16charmtools==1.1.0-252-cw
7colander==0.9.97colander==0.9.9
8configobj==4.7.28configobj==4.7.2
9deform==0.9.59deform==0.9.5

Subscribers

People subscribed via source and target branches