Debian Codegraph @

tests/cli_tests/test_self_implemented_command.py

raw
1 """
2 check ascii table:
3 http://ascii-table.com/ansi-escape-sequences.php
4 """
5
6
7 def test_clear(cli):
8 cli.sendline("clear")
9 cli.expect("\\[2J") # clear screen
10
11
12 def test_exirt(cli):
13 cli.sendline("EXIT")
14 cli.expect("Goodbye!")