/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: 2019-06-16 02:23:42 UTC
  • mfrom: (7340 work)
  • mto: This revision was merged to the branch mainline in revision 7350.
  • Revision ID: jelmer@jelmer.uk-20190616022342-ihxzayq04x5culzd
merge trunk.

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 ... import config, errors, osutils
 
18
from ... import (
 
19
    bedding,
 
20
    errors,
 
21
    osutils,
 
22
    )
19
23
from ...tests import (
20
24
    TestCase,
21
25
    TestCaseWithTransport,
77
81
 
78
82
    def test_get_cache_directory(self):
79
83
        # get_cache_directory returns the path to a directory inside the
80
 
        # Bazaar configuration directory.
 
84
        # Breezy cache directory.
81
85
        from . import lp_api
82
 
        expected_path = osutils.pathjoin(config.config_dir(), 'launchpad')
 
86
        expected_path = osutils.pathjoin(bedding.cache_dir(), 'launchpad')
83
87
        self.assertEqual(expected_path, lp_api.get_cache_directory())