Merge lp:~jtv/launchpad/translationtemplatescollection-test into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Данило Шеган |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11150 |
Proposed branch: | lp:~jtv/launchpad/translationtemplatescollection-test |
Merge into: | lp:launchpad |
Diff against target: |
362 lines (+244/-22) 5 files modified
lib/lp/services/database/collection.py (+17/-3) lib/lp/services/database/tests/test_collection.py (+1/-3) lib/lp/services/doc/collection.txt (+8/-2) lib/lp/translations/model/potemplate.py (+11/-14) lib/lp/translations/tests/test_translationtemplatescollection.py (+207/-0) |
To merge this branch: | bzr merge lp:~jtv/launchpad/translationtemplatescollection-test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Данило Шеган (community) | Approve | ||
Launchpad code reviewers | code | Pending | |
Review via email: mp+30114@code.launchpad.net |
Commit message
Tests & simplification for TranslationTemp
Description of the change
= TranslationTemp
This branch provides intermediate testing for TranslationTemp
This also introduces another piece of convenience for Collection: a concrete collection class based on Collection selects, by default, just the class that it is a collection of. So calling TranslationTemp
There's also some drive-by lint cleanup. However I left some pre-existing ones in place because what "make lint" is complaining about looks to me an awful lot like our preferred syntax:
list_
for item in items
if effable(item)
]
Jeroen
Oops. I forgot to include the preceding branch as a requirement for this one, and the preceding one hasn't landed yet. (It's been reviewed and approved though).
Incremental diff compared to that branch: http:// paste.ubuntu. com/464611/