~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commands.py

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
class TestGetAlias(tests.TestCase):
96
96
 
97
97
    def _get_config(self, config_text):
98
 
        my_config = config.GlobalConfig(_content=config_text)
 
98
        my_config = config.GlobalConfig.from_bytes(config_text)
99
99
        return my_config
100
100
 
101
101
    def test_simple(self):