def test_capitalize_None(self): self.assertEquals(None, capitalize_string(None)) self.assertEquals("", capitalize_string(""))
def test_capitalize(self): self.assertEquals(u"Madonna Music", capitalize_string("MaDoNna MUSIC")) self.assertEquals(u"Madonna", capitalize_string("MaDoNna"))