Merge lp:~benji/launchpad/bug-894177-2 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Benji York |
Approved revision: | no longer in the source branch. |
Merged at revision: | 14476 |
Proposed branch: | lp:~benji/launchpad/bug-894177-2 |
Merge into: | lp:launchpad |
Diff against target: |
63 lines (+26/-1) 2 files modified
database/schema/security.cfg (+2/-0) lib/lp/translations/tests/test_pofilestatsjob.py (+24/-1) |
To merge this branch: | bzr merge lp:~benji/launchpad/bug-894177-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Brad Crittenden (community) | code | Approve | |
Martin Pool (community) | Approve | ||
Review via email: mp+84676@code.launchpad.net |
Commit message
[r=bac,
Description of the change
In moving translations statistics updates into a cron job I missed some permissions it would need when running against products. This branch adds those permissions and adds tests that fail without the permissions in place. The branch also makes the pre-existing tests assert proper permissions.
Tests: bin/test -c -m lp.translations
Lint: "make lint" reports none
QA:
- note the translation statistics for a project
- make a translation change to a project (like submit a message string and ask
for review)
- verify that the statistics haven't changed
- ask a LOSA, er, webops to run cronscripts/
- verify that they report that the job did not raise an exception
- verify that the statistics have changed
It looks plausible to me but you probably want another review from someone more experienced.