~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        tree.add(file_name)
54
54
        tree.commit('added')
55
55
 
56
 
        config.GlobalConfig(_save=True,
57
 
                            _content=u'[ALIASES]\nust=st %s\n' % (file_name,))
 
56
        config.GlobalConfig.from_bytes(u'[ALIASES]\nust=st %s\n' % (file_name,),
 
57
                                       save=True)
58
58
 
59
59
        out, err = self.run_bzr('ust')
60
60
        self.assertEquals(err, '')