@@ -0,0 +1,1073 @@
+# This lesson teaches you how to define a function that takes an input, and then uses%0A# it to alter the output of that function.%0A%0A# Much like last time, run your python command in your terminal to see your first failure.%0A%0A# %60python -m unittest -vf tests.test_lesson_1_greetings%60%0A%0A# Again, like last time, you should see an import error indicating that you need a file titled%0A# %60greetings%60 in your lesson folder.%0A%0A# This challenge is very similar to the last one, but instead of always outputting the same string - %22Hello World!%22,%0A# the output will change based on the input you give to the function.%0A%0A%0Aimport unittest%0A%0Afrom lessons.lesson_1_greetings import greetings%0A%0A%0Aclass GreetingsTestCase(unittest.TestCase):%0A%09def test_greetings_function_exists(self):%0A%09%09func = greetings.greetings%0A%09%09self.assertIsNotNone(func)%0A%0A%09def test_greetings_function_with_input(self):%0A%09%09greet = greetings.greetings(%22Amy%22)%0A%09%09self.assertEqual(greet, %22Hi, Amy!%22)%0A%0A%09def test_grettings_function_with_another_input(self):%0A%09%09greet = greetings.greetings(%22Belle%22)%0A%09%09self.assertEqual(greet, %22Hi, Belle!%22)%0A

Add tests for lesson 1: greetings