/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/test_rules.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import sys
20
20
 
21
 
from bzrlib import (
 
21
from breezy import (
22
22
    errors,
23
23
    rules,
24
24
    tests,
130
130
        self.overrideEnv('HOME', '/home/bogus')
131
131
        if sys.platform == 'win32':
132
132
            self.overrideEnv(
133
 
                'BZR_HOME', r'C:\Documents and Settings\bogus\Application Data')
134
 
            self.bzr_home = \
135
 
                'C:/Documents and Settings/bogus/Application Data/bazaar/2.0'
 
133
                'BRZ_HOME', r'C:\Documents and Settings\bogus\Application Data')
 
134
            self.brz_home = \
 
135
                'C:/Documents and Settings/bogus/Application Data/breezy'
136
136
        else:
137
 
            self.bzr_home = '/home/bogus/.bazaar'
 
137
            self.brz_home = '/home/bogus/.config/breezy'
138
138
 
139
139
    def test_rules_filename(self):
140
140
        self.assertEqual(rules.rules_filename(),
141
 
                         self.bzr_home + '/rules')
 
141
                         self.brz_home + '/rules')