/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/test_rules.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:
142
142
        else:
143
143
            self.brz_home = '/home/bogus/.config/breezy'
144
144
 
145
 
    def test_rules_filename(self):
146
 
        self.assertEqual(rules.rules_filename(),
147
 
                         self.brz_home + '/rules')
 
145
    def test_rules_path(self):
 
146
        self.assertEqual(rules.rules_path(), self.brz_home + '/rules')