~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Alexander Belchenko
  • Date: 2008-02-06 15:33:12 UTC
  • mto: This revision was merged to the branch mainline in revision 3231.
  • Revision ID: bialix@ukr.net-20080206153312-qycs7u05d7fjtwqq
Ian's review

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
 
 
217
206
    def test_format(self):
218
207
        self.make_trees()
219
208
        s = StringIO(self.run_bzr('send -f branch -o- --format=4')[0])