def test_character(): assert prompt.character(empty=True) is None assert prompt.character(default='c') is 'c'
def test_character(input_patch): input_patch.do("c") assert prompt.character() == "c"
def test_character(): assert prompt.character(empty=True) is None