~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
    def test_help_with_aliases(self):
162
162
        original = self.run_bzr('help cat')[0]
163
163
 
164
 
        conf = config.GlobalConfig(_save=True, _content='''[ALIASES]
 
164
        conf = config.GlobalConfig.from_bytes('''[ALIASES]
165
165
c=cat
166
166
cat=cat
167
 
''')
 
167
''', save=True)
168
168
 
169
169
        expected = original + "'bzr cat' is an alias for 'bzr cat'.\n"
170
170
        self.assertEqual(expected, self.run_bzr('help cat')[0])