/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/tests/per_repository/test_commit_builder.py

  • Committer: Martin
  • Date: 2019-06-16 01:03:51 UTC
  • mto: This revision was merged to the branch mainline in revision 7340.
  • Revision ID: gzlist@googlemail.com-20190616010351-uz89ydnwdoal4ve4
Split non-ini config methods to bedding

Functions that determine filesystem paths to use for config and default
username are now outside of the main (large) config module.

Also move cache_dir function from osutils and normalise logic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
857
857
        tree = self.make_branch_and_tree(".")
858
858
        with tree.lock_write():
859
859
            # Make sure no username is available.
860
 
            self.assertRaises(config.NoWhoami, tree.branch.get_commit_builder,
 
860
            self.assertRaises(errors.NoWhoami, tree.branch.get_commit_builder,
861
861
                              [])
862
862
            builder = tree.branch.get_commit_builder(
863
863
                [], committer='me@example.com')