예제 #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