~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/codehosting/codeimport/tests/test_worker.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-15 10:01:15 UTC
  • mfrom: (14521 devel)
  • mto: This revision was merged to the branch mainline in revision 14522.
  • Revision ID: jelmer@canonical.com-20111215100115-y6bg928fwdqd16ej
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    branch_id_alias,
58
58
    compose_public_url,
59
59
    )
60
 
import lp.codehosting
 
60
from lp.codehosting import load_optional_plugin
61
61
from lp.codehosting.codeimport.tarball import (
62
62
    create_tarball,
63
63
    extract_tarball,
1143
1143
 
1144
1144
    def setUp(self):
1145
1145
        super(TestGitImport, self).setUp()
 
1146
        load_optional_plugin('git')
1146
1147
        self.setUpImport()
1147
1148
 
1148
1149
    def tearDown(self):
1219
1220
 
1220
1221
    def setUp(self):
1221
1222
        super(TestMercurialImport, self).setUp()
 
1223
        load_optional_plugin('hg')
1222
1224
        self.setUpImport()
1223
1225
 
1224
1226
    def tearDown(self):
1300
1302
 
1301
1303
    def setUp(self):
1302
1304
        super(TestBzrSvnImport, self).setUp()
 
1305
        load_optional_plugin('svn')
1303
1306
        self.setUpImport()
1304
1307
 
1305
1308
    def makeImportWorker(self, source_details, opener_policy):