def test_collect_distribution_with_self_references(self):
    '\n        Test that a distribution with self references to ensure it only collects each\n        email once, and without looping infinitely.\n        '
    test_emails = self.self_disti.collect_email_addresses()
    self.assertEqual(len(test_emails), 1)
    self.assertSetEqual(set([self.test1]), set(test_emails))
Test that a distribution with self references to ensure it only collects each
email once, and without looping infinitely.
def test_collect_distribution_with_self_references(self):
    '\n        Test that a distribution with self references to ensure it only collects each\n        email once, and without looping infinitely.\n        '
    test_emails = self.self_disti.collect_email_addresses()
    self.assertEqual(len(test_emails), 1)
    self.assertSetEqual(set([self.test1]), set(test_emails))