Пример #1
0
 def test_titleFixup_mac(self):
     assert 'MacNair' == utils.titleFixup('macnair')
     # Needs to be > 3 characters after Mac
     assert 'Macnai' == utils.titleFixup('macnai')
Пример #2
0
 def test_titleFixup_s(self):
     assert "Smith's" == utils.titleFixup("smith's")
Пример #3
0
 def test_titleFixup_mc(self):
     assert 'McDonald' == utils.titleFixup('mcdonald')
     assert 'McKilroy' == utils.titleFixup('mckilroy')