summaryrefslogtreecommitdiffstats
path: root/tests/cli_tests/test_self_implemented_command.py
blob: 328d56bde64b4c4f609ef006e8a3200c3f487804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""
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!")