~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/test_lp_api.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-09-01 08:02:42 UTC
  • mfrom: (5390.3.3 faster-revert-593560)
  • Revision ID: pqm@pqm.ubuntu.com-20100901080242-esg62ody4frwmy66
(spiv) Avoid repeatedly calling self.target.all_file_ids() in
 InterTree.iter_changes. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
 
18
 
from bzrlib import config, errors, osutils
 
18
from bzrlib import commands, config, errors, osutils
 
19
from bzrlib.plugins.launchpad import cmd_launchpad_mirror
19
20
from bzrlib.tests import (
 
21
    ModuleAvailableFeature,
20
22
    TestCase,
21
23
    TestCaseWithTransport,
22
24
    )
23
 
from bzrlib.tests.features import (
24
 
    ModuleAvailableFeature,
25
 
    )
26
25
 
27
26
 
28
27
launchpadlib_feature = ModuleAvailableFeature('launchpadlib')
34
33
    _test_needs_features = [launchpadlib_feature]
35
34
 
36
35
    def setUp(self):
37
 
        super(TestDependencyManagement, self).setUp()
 
36
        TestCase.setUp(self)
38
37
        from bzrlib.plugins.launchpad import lp_api
39
38
        self.lp_api = lp_api
40
39