~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2011-09-22 12:13:12 UTC
  • mto: This revision was merged to the branch mainline in revision 6157.
  • Revision ID: v.ladeuil+lp@free.fr-20110922121312-bm2uww3uaw2dhmfe
Migrate dpush_strict, push_strict and send_strict options to the stack based config design, introducing get_config_stack for branches. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
    def set_config_send_strict(self, value):
297
297
        # set config var (any of bazaar.conf, locations.conf, branch.conf
298
298
        # should do)
299
 
        conf = self.local_tree.branch.get_config()
300
 
        conf.set_user_option('send_strict', value)
 
299
        conf = self.local_tree.branch.get_config_stack()
 
300
        conf.set('send_strict', value)
301
301
 
302
302
    def assertSendFails(self, args):
303
303
        out, err = self.run_send(args, rc=3, err_re=self._default_errors)