~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_rules.py

  • Committer: Jelmer Vernooij
  • Date: 2011-01-11 04:33:12 UTC
  • mto: (5582.12.2 weave-plugin)
  • mto: This revision was merged to the branch mainline in revision 5718.
  • Revision ID: jelmer@samba.org-20110111043312-g4wx6iuf9662f36d
Move weave formats into bzrlib.plugins.weave_fmt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
 
119
119
    def setUp(self):
120
120
        super(TestRulesPath, self).setUp()
121
 
        os.environ['HOME'] = '/home/bogus'
 
121
        self.overrideEnv('HOME', '/home/bogus')
122
122
        if sys.platform == 'win32':
123
 
            os.environ['BZR_HOME'] = \
124
 
                r'C:\Documents and Settings\bogus\Application Data'
 
123
            self.overrideEnv(
 
124
                'BZR_HOME', r'C:\Documents and Settings\bogus\Application Data')
125
125
            self.bzr_home = \
126
126
                'C:/Documents and Settings/bogus/Application Data/bazaar/2.0'
127
127
        else: