Пример #1
0
 def test_capitalize_None(self):
     self.assertEquals(None, capitalize_string(None))
     self.assertEquals("", capitalize_string(""))
Пример #2
0
 def test_capitalize_None(self):
     self.assertEquals(None, capitalize_string(None))
     self.assertEquals("", capitalize_string(""))
Пример #3
0
 def test_capitalize(self):
     self.assertEquals(u"Madonna Music", capitalize_string("MaDoNna MUSIC"))
     self.assertEquals(u"Madonna", capitalize_string("MaDoNna"))
Пример #4
0
 def test_capitalize(self):
     self.assertEquals(u"Madonna Music", capitalize_string("MaDoNna MUSIC"))
     self.assertEquals(u"Madonna", capitalize_string("MaDoNna"))