~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transform.py

  • Committer: Jelmer Vernooij
  • Date: 2012-01-27 21:48:58 UTC
  • mto: (6449.6.5 config-use-stack)
  • mto: This revision was merged to the branch mainline in revision 6455.
  • Revision ID: jelmer@samba.org-20120127214858-vs7t4lpmqxl2t32y
Use config stack in tests, too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3634
3634
        self.assertRaises(NotImplementedError, tt.new_orphan, 'foo', 'bar')
3635
3635
 
3636
3636
    def _set_orphan_policy(self, wt, policy):
3637
 
        wt.branch.get_config().set_user_option('bzr.transform.orphan_policy',
 
3637
        wt.branch.get_config_stack().set('bzr.transform.orphan_policy',
3638
3638
                                               policy)
3639
3639
 
3640
3640
    def _prepare_orphan(self, wt):