~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_pack_repository.py

  • Committer: John Arbash Meinel
  • Date: 2009-07-24 18:26:21 UTC
  • mfrom: (4567 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4568.
  • Revision ID: john@arbash-meinel.com-20090724182621-68s2jhoqf3pn72n7
Merge bzr.dev 4567 to resolve NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
517
517
        def restoreFactory():
518
518
            ui.ui_factory = old_factory
519
519
        self.addCleanup(restoreFactory)
520
 
        ui.ui_factory = ui.SilentUIFactory()
521
 
        ui.ui_factory.stdin = StringIO("y\n")
 
520
        ui.ui_factory = ui.CannedInputUIFactory([True])
522
521
 
523
522
    def test_break_lock_breaks_physical_lock(self):
524
523
        repo = self.make_repository('.', format=self.get_format())