~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/tests/test_pofilestatsjob.py

  • Committer: Benji York
  • Date: 2012-01-04 16:17:43 UTC
  • mto: This revision was merged to the branch mainline in revision 14639.
  • Revision ID: benji.york@canonical.com-20120104161743-rt5v5v0z42wbaixr
add missing permission (and tweak a test name)

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        # Now that the job ran, the statistics have been updated.
52
52
        self.assertEqual(pofile.potemplate.messageCount(), 1)
53
53
 
54
 
    def test_with_product(self):
 
54
    def test_run_with_product(self):
55
55
        product = self.factory.makeProduct(
56
56
            translations_usage=ServiceUsage.LAUNCHPAD)
57
57
        productseries = self.factory.makeProductSeries(product=product)