~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_export_pot.py

  • Committer: Shannon Weyrick
  • Date: 2011-11-04 13:40:04 UTC
  • mfrom: (6238 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6256.
  • Revision ID: weyrick@mozek.us-20111104134004-033t2wqhc3ydzm0a
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
from bzrlib import ignores, osutils
22
22
from bzrlib.tests import TestCaseWithMemoryTransport
23
 
 
 
23
from bzrlib.tests.features import ModuleAvailableFeature
24
24
 
25
25
class TestExportPot(TestCaseWithMemoryTransport):
26
26
 
31
31
                                   "msgid \"Select changes introduced by the specified revision.")
32
32
 
33
33
    def test_export_pot_plugin(self):
 
34
        self.requireFeature(ModuleAvailableFeature('bzrlib.plugins.launchpad'))
34
35
        out, err = self.run_bzr("export-pot --plugin=launchpad")
35
36
        self.assertContainsRe(err, 'Exporting messages from plugin command: launchpad-login in launchpad')
36
37
        self.assertContainsRe(out, 'msgid "Show or set the Launchpad user ID."')