254
254
'pperez@ejemplo.com', 'user@localhost']), sorted(to))
256
256
def test_destination_address_required(self):
262
258
msg['From'] = '"J. Random Developer" <jrandom@example.com>'
264
260
errors.NoDestinationAddress,
267
264
msg = email_message.EmailMessage('from@from.com', '', 'subject')
269
266
errors.NoDestinationAddress,
272
270
msg = email_message.EmailMessage('from@from.com', [], 'subject')
274
272
errors.NoDestinationAddress,