Esempio n. 1
0
 def test_apple_list_id(self):
     value = 'Discussions regarding native Mac OS X application developments using\n\tCocoa frameworks <cocoa-dev.lists.apple.com>'
     self.assertEqual(utils.extract_list_id(value), 'cocoa-dev.lists.apple.com')
Esempio n. 2
0
 def test_basic_list_id(self):
     value = '<django-developers.googlegroups.com>'
     self.assertEqual(utils.extract_list_id(value), 'django-developers.googlegroups.com')