Merge lp:~henninge/launchpad/recife-pofile-creation into lp:~launchpad/launchpad/recife
| Status: | Merged |
|---|---|
| Merged at revision: | 9165 |
| Proposed branch: | lp:~henninge/launchpad/recife-pofile-creation |
| Merge into: | lp:~launchpad/launchpad/recife |
| Diff against target: |
160 lines (+81/-13) 1 file modified
lib/lp/translations/tests/test_pofile.py (+81/-13) |
| To merge this branch: | bzr merge lp:~henninge/launchpad/recife-pofile-creation |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jeroen T. Vermeulen (community) | 2010-08-26 | Approve on 2010-08-27 | |
|
Review via email:
|
|||
Description of the Change
This is a follow-up to this merge:
https:/
It add tests that show that when a new POFile is created, it is also created in sharing sourcepackages and upstream projects. POTemplate.
Run the new tests like this:
bin/test -vvcm lp.translations
| Henning Eggers (henninge) wrote : | # |
Am 27.08.2010 09:35, schrieb Jeroen T. Vermeulen:
> Review: Approve
> Honourable of you to come back and add the tests. As per IRC, a few notes:
Well, the original task was to implement this but I found that it already was
- just not tested... ;-)
> * These templates are "sharing," not "shared." Because they share POTMsgSets, not because anyone shares the POTemplates.
> * You mention a POTemplate's name being "the same." Same as what?
> * Avoid looking up warty and hoary in the sample data. Just create new series.
Did all these.
> * Try shortcutting some of the setup by having your first makeSourcePackage call create your SourcePackageName (and perhaps DistroSeries) implicitly.
Did a little of that.
> * One of the missing articles in the test_pofile_
Fixed.
>
> Apart from that, r=me.
Thank you very much!
Henning

Honourable of you to come back and add the tests. As per IRC, a few notes: creation_ shared_ in_ubuntu comment is confusing.
* These templates are "sharing," not "shared." Because they share POTMsgSets, not because anyone shares the POTemplates.
* You mention a POTemplate's name being "the same." Same as what?
* Avoid looking up warty and hoary in the sample data. Just create new series.
* Try shortcutting some of the setup by having your first makeSourcePackage call create your SourcePackageName (and perhaps DistroSeries) implicitly.
* One of the missing articles in the test_pofile_
Apart from that, r=me.