~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_pack_repository.py

  • Committer: Martin Pool
  • Date: 2009-07-24 03:15:56 UTC
  • mfrom: (4565 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4566.
  • Revision ID: mbp@sourcefrog.net-20090724031556-5zyef6f1ixtn6r3z
merge 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())