Commits

Jason R. Coombs committed fbf31f2

Adding test for dest_addrs

  • Participants
  • Parent commits d98686f

Comments (0)

Files changed (1)

tests/test_notification.py

+from jaraco.net import notification
+
+class TestMailbox(object):
+	def test_dest_addrs(self):
+		mbx = notification.SMTPMailbox(
+			to_addrs = "a@example.com,b@example.com",
+			cc_addrs = "c@example.com,d@example.com",
+			bcc_addrs = "e@example.com,f@example.com",
+		)
+		assert len(list(mbx.dest_addrs)) == 6
+