~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(vila) Migrate more branch config options to config stacks. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
    def test_pull_verbose_uses_default_log(self):
378
378
        tree = self.example_branch('source')
379
379
        target = self.make_branch_and_tree('target')
380
 
        target_config = target.branch.get_config()
381
 
        target_config.set_user_option('log_format', 'short')
 
380
        target_config = target.branch.get_config_stack()
 
381
        target_config.set('log_format', 'short')
382
382
        out = self.run_bzr('pull -v source -d target')[0]
383
383
        self.assertContainsRe(out, r'\n {4}1 .*\n {6}setup\n')
384
384
        self.assertNotContainsRe(