☰
Debian Codegraph
@
1.16.1-3
1.16.1-2
/
/
tests
/
cli_tests
/
test_self_implemented_command.py
☽
☼
tests/cli_tests/test_self_implemented_command.py
code
plain
raw
BSD-3-clause
2019-2026 laixintao <
[email protected]
>
debian/copyright
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!")