~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_script.py

  • Committer: Vincent Ladeuil
  • Date: 2011-09-28 15:06:42 UTC
  • mto: This revision was merged to the branch mainline in revision 6175.
  • Revision ID: v.ladeuil+lp@free.fr-20110928150642-e5m0w1oqc0effxr8
Allows bzr shelve to be used in test scripts and under emacs shells

Show diffs side-by-side

added added

removed removed

Lines of Context:
608
608
            """)
609
609
 
610
610
    def test_shelve(self):
611
 
        self.overrideEnv('INSIDE_EMACS', '1')
612
611
        self.run_script("""
613
612
            $ bzr shelve -m 'shelve bar'
614
613
            # Shelve? [yNfq?]
628
627
            """)
629
628
 
630
629
    def test_dont_shelve(self):
631
 
        self.overrideEnv('INSIDE_EMACS', '1')
632
630
        # We intentionally provide no input here to test EOF
633
631
        self.run_script("""
634
632
            $ bzr shelve -m 'shelve bar'