~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_send.py

  • Committer: Frank Aspell
  • Date: 2009-02-17 11:40:05 UTC
  • mto: (4054.1.1 doc)
  • mto: This revision was merged to the branch mainline in revision 4056.
  • Revision ID: frankaspell@googlemail.com-20090217114005-ojufrp6rqht664um
Fixed typos.

Fixed some typos in bzr doc's using "aspell -l en -c FILENAME".

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
        stdout = self.run_bzr('send -f branch --output -')[0]
191
191
        self.assertContainsRe(stdout, 'revision3')
192
192
 
 
193
    def test_note_revisions(self):
 
194
        self.make_trees()
 
195
        stderr = self.run_bzr('send -f branch --output file1')[1]
 
196
        self.assertContainsRe(stderr, r'Bundling 1 revision\(s\).\n')
 
197
 
193
198
    def test_mailto_option(self):
194
199
        self.make_trees()
195
200
        branch = _mod_branch.Branch.open('branch')
196
201
        branch.get_config().set_user_option('mail_client', 'editor')
197
 
        self.run_bzr_error(('No mail-to address specified',), 'send -f branch')
 
202
        self.run_bzr_error(
 
203
            ('No mail-to address \\(--mail-to\\) or output \\(-o\\) specified',
 
204
            ), 'send -f branch')
198
205
        branch.get_config().set_user_option('mail_client', 'bogus')
199
206
        self.run_bzr('send -f branch -o-')
200
207
        self.run_bzr_error(('Unknown mail client: bogus',),