Merge lp:~ralsina/ubuntuone-control-panel/fix_804271 into lp:ubuntuone-control-panel
Proposed by
Roberto Alsina
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Roberto Alsina | ||||
Approved revision: | 182 | ||||
Merged at revision: | 175 | ||||
Proposed branch: | lp:~ralsina/ubuntuone-control-panel/fix_804271 | ||||
Merge into: | lp:ubuntuone-control-panel | ||||
Diff against target: |
67 lines (+52/-2) 2 files modified
ubuntuone/controlpanel/gui/__init__.py (+5/-2) ubuntuone/controlpanel/gui/qt/tests/test_humanize.py (+47/-0) |
||||
To merge this branch: | bzr merge lp:~ralsina/ubuntuone-control-panel/fix_804271 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John Lenton (community) | Approve | ||
Review via email: mp+66595@code.launchpad.net |
Commit message
Fix corner cases for humanize, add tests.
Description of the change
Fix corner cases for humanize:
humanize(0) was "0.0 bytes" should be "0 bytes"
Added some minimal tests.
To post a comment you must log in.
A small nit in that the docstring of test_decimal doesn't have much relation to what it's testing (what it's testing is unclear to me, however).