Merge lp:~thedac/charmsupport/volume-management into lp:~ubuntuone-pqm-team/charmsupport/trunk
Proposed by
Sidnei da Silva
Status: | Merged |
---|---|
Approved by: | Sidnei da Silva |
Approved revision: | 39 |
Merged at revision: | 50 |
Proposed branch: | lp:~thedac/charmsupport/volume-management |
Merge into: | lp:~ubuntuone-pqm-team/charmsupport/trunk |
Diff against target: |
57 lines (+8/-6) 3 files modified
charmsupport/hookenv.py (+5/-1) charmsupport/volumes.py (+1/-1) tests/test_hookenv.py (+2/-4) |
To merge this branch: | bzr merge lp:~thedac/charmsupport/volume-management |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sidnei da Silva (community) | Approve | ||
Review via email: mp+160532@code.launchpad.net |
Commit message
Fix dictionary check for volume_map
Allow non-relation context runs
Description of the change
Fix dictionary check for volume_map
Allow non-relation context runs
To post a comment you must log in.
The attempt to merge lp:~thedac/charmsupport/volume-management into lp:~ubuntuone-pqm-team/charmsupport/trunk failed. Below is the output from the failed tests.
Starting tests...
....... ....... ....... ......F. ....... ....... ....... ....... ....... ....... ....... . ======= ======= ======= ======= ======= ======= ======= ======= ======= hookenv. HelpersTest. test_relation_ ids_no_ relation_ type ------- ------- ------- ------- ------- ------- ------- ------- ------- python2. 7/dist- packages/ mock.py" , line 1190, in patched cache/charmsupp ort/trunk/ tests/test_ hookenv. py", line 175, in test_relation_ ids_no_ relation_ type assertEqual( result, ids)
=======
FAIL: tests.test_
-------
_StringException: Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "/mnt/tarmac/
self.
MismatchError: [] != [1, 2, 3]
Name Stmts Miss Cover Missing ------- ------- ------- ------- ------- ------- --- hookenv 140 11 92% 41, 45, 49-50, 125-130, 180 ------- ------- ------- ------- ------- ------- --- ------- ------- ------- ------- ------- ------- ------- ------- -------
-------
charmsupport 0 0 100%
charmsupport.
charmsupport.host 112 2 98% 163, 177
charmsupport.nrpe 83 2 98% 197-198
-------
TOTAL 335 15 96%
-------
Ran 79 tests in 0.272s
FAILED (failures=1)
make: *** [test] Error 1