Merge lp://staging/~stefanor/ibid/exchange-825217 into lp://staging/ibid
Proposed by
Stefano Rivera
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Stefano Rivera | ||||
Approved revision: | 1068 | ||||
Merged at revision: | 1033 | ||||
Proposed branch: | lp://staging/~stefanor/ibid/exchange-825217 | ||||
Merge into: | lp://staging/ibid | ||||
Diff against target: |
549 lines (+258/-99) 8 files modified
docs/api/ibid.utils.rst (+8/-1) ibid/plugins/conversions.py (+140/-68) ibid/test/__init__.py (+26/-8) ibid/test/plugins/test_conversions.py (+52/-4) ibid/test/plugins/test_core.py (+6/-11) ibid/test/plugins/test_url.py (+3/-3) ibid/test/test_utils.py (+19/-0) ibid/utils/__init__.py (+4/-4) |
||||
To merge this branch: | bzr merge lp://staging/~stefanor/ibid/exchange-825217 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Max Rabkin | Approve | ||
Review via email: mp+71367@code.staging.launchpad.net |
Commit message
XE.com no longer has a nice helpful country to currency list, so we build our own, based on ISO-4127. This means many heuristics, so we include a reasonable test suite.
To post a comment you must log in.
Some non-currencies are missing (search http:// en.wikipedia. org/wiki/ ISO_4217 for "funds code" for some more -- the funds codes are in table A.2 of the standard, we may be able to use this instead of hard coding).
You should use trial's tempdir functions instead of hardcoding /tmp.
The tests are networking tesst but it don't check for IBID_NETWORKLES S_TEST.