# checks users entered a valid option option based on a list def string_checker(users_response) return "yes" # Automated testing is below in the form (test_case, expected value) to_test = [ ("Yes", "yes"), ("Y", "yes"), ("No", "no"), ("N", "no"), ("YeS", "yes"), ("maybe", "invalid"), ] # run tests! for item in to_test: #retrive test case and expected value case = item[0] expected = item [1] # get actual value (ie: test ticket function) actual = string_checker(case, )