~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_config.py

  • Committer: Andrew Starr-Bochicchio
  • Date: 2014-01-23 19:00:51 UTC
  • mto: This revision was merged to the branch mainline in revision 6591.
  • Revision ID: a.starr.b@gmail.com-20140123190051-r14k1kregolynkn6
The XDG Base Directory Specification uses the XDG_CACHE_HOME XDG_CACHE_HOME, not XDG_CACHE_DIR.

Show diffs side-by-side

added added

removed removed

Lines of Context:
558
558
    def setUp(self):
559
559
        super(TestConfigPath, self).setUp()
560
560
        self.overrideEnv('HOME', '/home/bogus')
561
 
        self.overrideEnv('XDG_CACHE_DIR', '')
 
561
        self.overrideEnv('XDG_CACHE_HOME', '')
562
562
        if sys.platform == 'win32':
563
563
            self.overrideEnv(
564
564
                'BZR_HOME', r'C:\Documents and Settings\bogus\Application Data')