~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_script.py

  • Committer: Benoît Pierre
  • Date: 2011-10-02 12:33:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6215.
  • Revision ID: benoit.pierre@gmail.com-20111002123331-bq1r354anlwzb4dk
Fix script tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
580
580
        self.addCleanup(commands.builtin_command_registry.remove, 'test-confirm')
581
581
        self.run_script("""
582
582
            $ bzr test-confirm
583
 
            2>Really do it? [y/n]: 
584
 
            <yes
 
583
            2>Really do it? ([y]es, [n]o): y
 
584
            <y
585
585
            Do it!
586
586
            $ bzr test-confirm
587
 
            2>Really do it? [y/n]: 
588
 
            <no
 
587
            2>Really do it? ([y]es, [n]o): n
 
588
            <n
589
589
            ok, no
590
590
            """)
591
591