/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: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from .. import (
 
17
from bzrlib import (
18
18
    errors,
19
19
    mail_client,
20
20
    tests,
118
118
 
119
119
    def test_commandline(self):
120
120
        xdg_email = mail_client.XDGEmail(None)
121
 
        self.assertRaises(mail_client.NoMailAddressSpecified,
 
121
        self.assertRaises(errors.NoMailAddressSpecified,
122
122
                          xdg_email._get_compose_commandline,
123
123
                          None, None, 'file%')
124
124
        commandline = xdg_email._get_compose_commandline(
233
233
 
234
234
    def test_to_required(self):
235
235
        claws = mail_client.Claws(None)
236
 
        self.assertRaises(mail_client.NoMailAddressSpecified,
 
236
        self.assertRaises(errors.NoMailAddressSpecified,
237
237
                          claws._get_compose_commandline,
238
238
                          None, None, 'file%')
239
239