~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Move the '_save' parameter from '__init__' to 'from_bytes', fix fallouts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
            return self.run_bzr(args, **kwargs)[1]
36
36
 
37
37
 
38
 
        conf = config.GlobalConfig(_save=True, _content='''[ALIASES]
 
38
        conf = config.GlobalConfig.from_bytes('''[ALIASES]
39
39
c=cat
40
40
c1=cat -r 1
41
41
c2=cat -r 1 -r2
42
 
''')
 
42
''', save=True)
43
43
 
44
44
        str1 = 'foo\n'
45
45
        str2 = 'bar\n'