def test_display_list_three_items(): test_list = ["eggs", "spam", "ham"] expected = "eggs, spam, and ham" assert display_list(test_list) == expected
def test_display_list_two_items(): test_list = ["eggs", "spam"] expected = "eggs and spam" assert display_list(test_list) == expected