def test_one_word(self):
   text = 'python'
   result = caps.cap_text(text)
   self.assertEqual(result, 'Python')
Example #2
0
 def test_one_word(self):
     text = "python"
     result = caps.cap_text(text)
     self.assertEqual(result, "Python")
 def test_multiple_words(self):
   text = 'monty python'
   result = caps.cap_text(text)
   self.assertEqual(result, 'Monty Python')
Example #4
0
 def test_multi_word(self):
     text = "monty python"
     result = caps.cap_text(text)
     self.assertEqual(result, "Monty Python")