/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

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
19
 
from bzrlib.tests import (
 
18
from breezy import config, errors, osutils
 
19
from breezy.tests import (
20
20
    TestCase,
21
21
    TestCaseWithTransport,
22
22
    )
23
 
from bzrlib.tests.features import (
 
23
from breezy.tests.features import (
24
24
    ModuleAvailableFeature,
25
25
    )
26
26
 
35
35
 
36
36
    def setUp(self):
37
37
        super(TestDependencyManagement, self).setUp()
38
 
        from bzrlib.plugins.launchpad import lp_api
 
38
        from breezy.plugins.launchpad import lp_api
39
39
        self.lp_api = lp_api
40
40
 
41
41
    def patch(self, obj, name, value):
78
78
    def test_get_cache_directory(self):
79
79
        # get_cache_directory returns the path to a directory inside the
80
80
        # Bazaar configuration directory.
81
 
        from bzrlib.plugins.launchpad import lp_api
 
81
        from breezy.plugins.launchpad import lp_api
82
82
        expected_path = osutils.pathjoin(config.config_dir(), 'launchpad')
83
83
        self.assertEqual(expected_path, lp_api.get_cache_directory())
84
84