bzr branch
http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from bzrlib.tests import TestCase from bzrlib.plugins.stats import extract_fullname class TestFullnameExtractor(TestCase): def test_standard(self): self.assertEquals("John Doe", extract_fullname("John Doe <joe@example.com>")) def test_only_email(self): self.assertEquals("", extract_fullname("joe@example.com")) def test_only_fullname(self): self.assertEquals("John Doe", extract_fullname("John Doe")) |