/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
    def test_mailto_option(self):
193
193
        self.make_trees()
194
194
        branch = _mod_branch.Branch.open('branch')
 
195
        branch.get_config().set_user_option('mail_client', 'editor')
 
196
        self.run_bzr_error(('No mail-to address specified',), 'send -f branch')
195
197
        branch.get_config().set_user_option('mail_client', 'bogus')
196
 
        self.run_bzr_error(('No mail-to address specified',), 'send -f branch')
197
198
        self.run_bzr('send -f branch -o-')
198
199
        self.run_bzr_error(('Unknown mail client: bogus',),
199
200
                           'send -f branch --mail-to jrandom@example.org')