~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_config.py

  • Committer: Aaron Bentley
  • Date: 2007-08-10 13:11:49 UTC
  • mto: (2681.5.3 bzr-mail)
  • mto: This revision was merged to the branch mainline in revision 2736.
  • Revision ID: abentley@panoramicfeedback.com-20070810131149-qx5v1bajrwsozbua
Refactor prompt generation to make it testable, test it with unicode

Show diffs side-by-side

added added

removed removed

Lines of Context:
1019
1019
        client = config.get_mail_client()
1020
1020
        self.assertIsInstance(client, mail_client.Thunderbird)
1021
1021
 
 
1022
        config.set_user_option('mail_client', 'evolution')
 
1023
        client = config.get_mail_client()
 
1024
        self.assertIsInstance(client, mail_client.Evolution)
 
1025
 
1022
1026
        config.set_user_option('mail_client', 'firebird')
1023
1027
        self.assertRaises(errors.UnknownMailClient, config.get_mail_client)
1024
1028