~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_aliases.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-03-31 00:43:21 UTC
  • mfrom: (1551.2.51 win32fixes)
  • Revision ID: pqm@pqm.ubuntu.com-20060331004321-2171d32febcbfe4d
Various fixes for win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
from bzrlib.branch import Branch
7
7
from bzrlib.tests import TestCaseInTempDir
8
8
from bzrlib.trace import mutter
9
 
from bzrlib.config import (config_dir, config_filename)
 
9
from bzrlib.config import (ensure_config_dir_exists, config_filename)
10
10
 
11
11
 
12
12
class TestAliases(TestCaseInTempDir):
24
24
            # Something is wrong in environment, 
25
25
            # we risk overwriting users config 
26
26
            self.assert_(config_filename() + "exists, abort")
27
 
            
28
 
        os.mkdir(config_dir())
 
27
        
 
28
        ensure_config_dir_exists()
29
29
        CONFIG=("[ALIASES]\n"
30
30
                "c=cat\n"
31
31
                "c1=cat -r 1\n"