Example #1
0
 def test_welcome_message_name_place(self):
     '''
     Test welcome_message
     '''
     result = k.welcome_message(user_name='Sally', place='London')
     self.assertEqual(result, "Hello, Sally, and welcome to London")
Example #2
0
 def test_welcome_message_name(self):
     '''
     Test welcome_message
     '''
     result = k.welcome_message(user_name='Sally')
     self.assertEqual(result, "Hello, Sally, and welcome")
Example #3
0
 def test_welcome_message_place(self):
     '''
     Test welcome_message
     '''
     result = k.welcome_message(place='London')
     self.assertEqual(result, "Hello and welcome to London")
Example #4
0
 def test_welcome_message(self):
     '''
     Test welcome_message
     '''
     result = k.welcome_message()
     self.assertEqual(result, "Hello and welcome")