示例#1
0
def test_character():
    assert prompt.character(empty=True) is None
    assert prompt.character(default='c') is 'c'
示例#2
0
def test_character(input_patch):
    input_patch.do("c")
    assert prompt.character() == "c"
示例#3
0
def test_character():
    assert prompt.character(empty=True) is None