/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 bzrlib/tests/test_config.py

  • Committer: Andrew Bennetts
  • Date: 2009-08-21 00:04:55 UTC
  • mfrom: (4634 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4639.
  • Revision ID: andrew.bennetts@canonical.com-20090821000455-6oygnl6rt3291bwp
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
    def setUp(self):
321
321
        super(TestConfigPath, self).setUp()
322
322
        os.environ['HOME'] = '/home/bogus'
 
323
        os.environ['XDG_CACHE_DIR'] = ''
323
324
        if sys.platform == 'win32':
324
325
            os.environ['BZR_HOME'] = \
325
326
                r'C:\Documents and Settings\bogus\Application Data'
347
348
        self.assertEqual(config.authentication_config_filename(),
348
349
                         self.bzr_home + '/authentication.conf')
349
350
 
 
351
    def test_xdg_cache_dir(self):
 
352
        self.assertEqual(config.xdg_cache_dir(),
 
353
            '/home/bogus/.cache')
 
354
 
350
355
 
351
356
class TestIniConfig(tests.TestCase):
352
357