コード例 #1
0
def test_display_list_three_items():
    test_list = ["eggs", "spam", "ham"]
    expected = "eggs, spam, and ham"
    assert display_list(test_list) == expected
コード例 #2
0
def test_display_list_three_items():
    test_list = ["eggs", "spam", "ham"]
    expected = "eggs, spam, and ham"
    assert display_list(test_list) == expected
コード例 #3
0
def test_display_list_two_items():
    test_list = ["eggs", "spam"]
    expected = "eggs and spam"
    assert display_list(test_list) == expected
コード例 #4
0
def test_display_list_two_items():
    test_list = ["eggs", "spam"]
    expected = "eggs and spam"
    assert display_list(test_list) == expected