Statistics clean-ups and extra tests
Bug #688130 reported by
Henning Eggers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Abel Deuring |
Bug Description
From BRANCH.TODO in the recife branch:
Test that all counts ignore diverged messages for other templates (this side).
Test that all counts ignore diverged messages for other templates (other side).
Test for empty messages.
Test statistics for treatment of incomplete messages.
Fix up code to treat incomplete messages as untranslated.
Clean out old tests.
Related branches
lp:~adeuring/launchpad/bug-688130
- Gavin Panella (community): Approve
-
Diff: 329 lines (+166/-14)5 files modifiedlib/lp/testing/factory.py (+18/-0)
lib/lp/translations/model/pofile.py (+12/-5)
lib/lp/translations/tests/test_pofile.py (+128/-0)
lib/lp/translations/tests/test_potmsgset.py (+7/-0)
lib/lp/translations/utilities/rosettastats.py (+1/-9)
Changed in rosetta: | |
milestone: | 10.12 → none |
Changed in launchpad: | |
assignee: | nobody → Abel Deuring (adeuring) |
status: | Triaged → In Progress |
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r12469 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12469>.