~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_pack_repository.py

  • Committer: Vincent Ladeuil
  • Date: 2010-01-25 17:48:22 UTC
  • mto: (4987.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4988.
  • Revision ID: v.ladeuil+lp@free.fr-20100125174822-nce4l19sbwx83jvq
Deploying the new overrideAttr facility further reduces the complexity
and make the code clearer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
588
588
        self.assertFalse(repo.get_physical_lock_status())
589
589
 
590
590
    def prepare_for_break_lock(self):
591
 
        self.addAttrCleanup(ui, 'ui_factory')
592
591
        # Setup the global ui factory state so that a break-lock method call
593
592
        # will find usable input in the input stream.
594
593
        ui.ui_factory = ui.CannedInputUIFactory([True])