1
0
Fork 0
iredis/tests/cli_tests/test_self_implemented_command.py

15 lines
240 B
Python
Raw Normal View History

"""
check ascii table:
http://ascii-table.com/ansi-escape-sequences.php
"""
def test_clear(cli):
cli.sendline("clear")
cli.expect("\\[2J") # clear screen
def test_exirt(cli):
cli.sendline("EXIT")
cli.expect("Goodbye!")