~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge bzr.ab.integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
from bzrlib.branch import Branch
7
7
from bzrlib.tests import TestCaseInTempDir
8
 
from bzrlib.config import (config_dir, config_filename)
 
8
from bzrlib.config import (ensure_config_dir_exists, config_filename)
9
9
 
10
10
 
11
11
class TestLogFormats(TestCaseInTempDir):
102
102
                # we risk overwriting users config 
103
103
                self.assert_(config_filename() + "exists, abort")
104
104
            
105
 
        os.mkdir(config_dir())
 
105
        ensure_config_dir_exists()
106
106
        CONFIG=("[DEFAULT]\n"
107
107
                "email=Joe Foo <joe@foo.com>\n"
108
108
                "log_format=line\n")