コード例 #1
0
def test_fail():
    thing = Thing("Albert")
    assert "Wrong!" == thing.return_hello_name()
コード例 #2
0
def test_correct_greeting():
    thing = Thing("Bob")
    assert "Hello Bob!" == thing.return_hello_name()