def test_collect_distribution_with_duplicates(self):
    '\n        Test that a distribution with duplicates to ensure it only collects each email\n        once.\n        '
    test_emails = self.dupe_disti.collect_email_addresses()
    self.assertEqual(len(test_emails), 2)
    self.assertSetEqual(self.all_emails, set(test_emails))
Test that a distribution with duplicates to ensure it only collects each email
once.
def test_collect_distribution_with_duplicates(self):
    '\n        Test that a distribution with duplicates to ensure it only collects each email\n        once.\n        '
    test_emails = self.dupe_disti.collect_email_addresses()
    self.assertEqual(len(test_emails), 2)
    self.assertSetEqual(self.all_emails, set(test_emails))