Esempio n. 1
0
 def test_make_recipient_line_multiple(self):
     """
     verify the make_recipient_line() function returns
     correct "to:" line for multiple recipients.
     """
     self.assertEqual(self.multiple_recipient_str, 
                      mailJOTD.make_recipient_line(self.multiple_recipient))
Esempio n. 2
0
 def test_make_recipient_line_single(self):
     """
     verify the make_recipient_line() function returns
     correct "to:" lines for a single recipient.
     """
     self.assertEqual(self.single_recipient_str, 
                      mailJOTD.make_recipient_line(self.single_recipient))