def test_multiple_word(self): text = 'python text' result = cap.cat_text(text) self.assertEqual(result, 'Python Text')
def test_one_word(self): text = 'python' result = cap.cat_text(text) self.assertEqual(result, 'Python')
def test_multiple_words(self): text = 'monty python' result = cap.cat_text(text) self.assertEqual(result, 'Monty Python')