/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/upload/tests/test_upload.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:
19
19
 
20
20
 
21
21
from .... import (
22
 
    config,
 
22
    bedding,
23
23
    controldir,
24
24
    errors,
25
25
    osutils,
734
734
        self.assertEqual(None, conf.get('upload_location'))
735
735
 
736
736
    def test_get_push_location_exact(self):
737
 
        config.ensure_config_dir_exists()
738
 
        fn = config.locations_config_filename()
 
737
        bedding.ensure_config_dir_exists()
 
738
        fn = bedding.locations_config_path()
739
739
        b = self.get_branch()
740
740
        with open(fn, 'wt') as f:
741
741
            f.write(("[%s]\n" "upload_location=foo\n" % b.base.rstrip("/")))