~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-02-18 16:47:52 UTC
  • mfrom: (12399.2.3 pomessage-sequence)
  • Revision ID: launchpad@pqm.canonical.com-20110218164752-kih3hrpil9gbktdp
[r=adeuring][no-qa] Fix factory.makePOTMsgSet default sequence.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1161
1161
            language_code=self.pofile.language.code)
1162
1162
 
1163
1163
        self.potmsgset = self.factory.makePOTMsgSet(
1164
 
            potemplate=potemplate, sequence=1)
 
1164
            potemplate=potemplate)
1165
1165
 
1166
1166
    def selectUpstreamTranslation(self, tm, tm_other):
1167
1167
        # See `SetCurrentTranslationTestMixin`
1201
1201
            language_code=self.pofile.language.code)
1202
1202
 
1203
1203
        self.potmsgset = self.factory.makePOTMsgSet(
1204
 
            potemplate=potemplate, sequence=1)
 
1204
            potemplate=potemplate)
1205
1205
 
1206
1206
    def selectUpstreamTranslation(self, tm, tm_other):
1207
1207
        # See `SetCurrentTranslationTestMixin`