680
683
self.addCleanup(self.branch.unlock)
681
684
self.branch.get_config_stack().set('foo', 'bar')
683
688
self.branch.get_config().get_user_option('foo'))
687
692
self.addCleanup(self.branch.unlock)
688
693
self.branch.get_config_stack().set('foo', 'bar')
689
694
copy = _mod_branch.Branch.open(self.branch.base)
690
695
result = copy.get_config_stack().get('foo')
696
702
class TestPullResult(tests.TestCase):