예제 #1
0
 def test_alt(self):
     self.assertEqual(
         maintainer_to_links('*****@*****.**'),
         ['http://sisyphus.ru/en/packager/foo/', 'mailto:[email protected]'])
     self.assertEqual(
         maintainer_to_links('*****@*****.**'),
         ['http://sisyphus.ru/en/packager/foo/', 'mailto:[email protected]'])
예제 #2
0
 def test_aur(self):
     self.assertEqual(maintainer_to_links('foo@aur'), ['https://aur.archlinux.org/account/foo'])
예제 #3
0
 def test_cpan(self):
     self.assertEqual(maintainer_to_links('foo@cpan'), ['http://search.cpan.org/~foo'])
예제 #4
0
 def test_garbage(self):
     self.assertEqual(maintainer_to_links('foo'), [])
예제 #5
0
 def test_email(self):
     self.assertEqual(maintainer_to_links('*****@*****.**'), ['mailto:[email protected]'])