示例#1
0
def test_my_message():
    #with variable
    x = my_message()
    print(x)
    assert x == "Hello"  #
    #without variable
    assert my_message() == "Hello"
def my_message():
    x = my_message()
    assert x == "HELLO"
def test_my_message():
    x = my_message()
    assert x == "Hello"
def test_my_message():
    x = my_message()
    assert x == HELLO
def test_my_message():
    #x = my_message()
    #assert x == "HELLO"

    assert my_message() == "HELLO"
def test_my_message():
    assert my_message() == "HELLO"