/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

  • Committer: Martin Albisetti
  • Date: 2008-04-04 01:06:44 UTC
  • mfrom: (3331 +trunk)
  • mto: (3350.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 3351.
  • Revision ID: argentina@gmail.com-20080404010644-3vurp3zln4uzu9nv
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
        self.run_bzr_error(('Unknown mail client: bogus',),
204
204
                           'send -f branch')
205
205
 
 
206
    def test_mailto_child_option(self):
 
207
        """Make sure that child_submit_to is used."""
 
208
        self.make_trees()
 
209
        branch = _mod_branch.Branch.open('branch')
 
210
        branch.get_config().set_user_option('mail_client', 'bogus')
 
211
        parent = _mod_branch.Branch.open('parent')
 
212
        parent.get_config().set_user_option('child_submit_to', 
 
213
                           'somebody@example.org')
 
214
        self.run_bzr_error(('Unknown mail client: bogus',),
 
215
                           'send -f branch')
 
216
 
206
217
    def test_format(self):
207
218
        self.make_trees()
208
219
        s = StringIO(self.run_bzr('send -f branch -o- --format=4')[0])