/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/test_mail_client.py

  • Committer: Keir Mierle
  • Date: 2007-09-03 23:54:22 UTC
  • mto: This revision was merged to the branch mainline in revision 2824.
  • Revision ID: keir@cs.utoronto.ca-20070903235422-zfj6mk7nts9nmzw2
Add Mutt as a supported client email program. Also rearranges various listings
of the mail clients to be alphabetical; the number of supported email clients
is only going to grow, and this way it is easier to scan for your favorite
email client.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    urlutils,
21
21
    )
22
22
 
 
23
class TestMutt(tests.TestCase):
 
24
 
 
25
    def test_commandline(self):
 
26
        mutt = mail_client.Mutt(None)
 
27
        commandline = mutt._get_compose_commandline(None, None, 'file%')
 
28
        self.assertEqual(['-a', 'file%'], commandline)
 
29
        commandline = mutt._get_compose_commandline('jrandom@example.org',
 
30
                                                     'Hi there!', None)
 
31
        self.assertEqual(['-s', 'Hi there!', 'jrandom@example.org'],
 
32
                         commandline)
 
33
 
23
34
 
24
35
class TestThunderbird(tests.TestCase):
25
36