Skip to content

Commit

Permalink
add disable bracketed paste mode to ansi escape codes to base_connect…
Browse files Browse the repository at this point in the history
…ion test_strip_ansi_codes test case
  • Loading branch information
joshniec committed Aug 20, 2024
1 parent 9801b1b commit 765c06e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_base_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ def test_strip_ansi_codes():
"\x1b[0m", # code_attrs_off
"\x1b[7m", # code_reverse
"\x1b[c", # code_query_device
"\x1b[?2004h", # code_enable_bracketed_paste_mode
"\x1b[?2004l", # code_disable_bracketed_paste_mode
]
for ansi_code in ansi_codes_to_strip:
assert connection.strip_ansi_escape_codes(ansi_code) == ""
Expand Down

0 comments on commit 765c06e

Please sign in to comment.