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