test: add prompt setter to interactive helper
Interactive console test helper could be used for remote connection too, for that purpose prompt needs to be changed accordingly to connection type. This patch introduces getter and setter for the prompt. Prompt is configured per session, so it is advised to create a new session for each test case (e.g. with before_each()). NO_CHANGELOG=test helper change NO_DOC=test helper change
Showing
- test/app-luatest/gh_8136_fix_print_wrapper_not_handling_errors_thrown_from_print_test.lua 2 additions, 2 deletions...nt_wrapper_not_handling_errors_thrown_from_print_test.lua
- test/box-luatest/hide_show_prompt_test.lua 2 additions, 2 deletionstest/box-luatest/hide_show_prompt_test.lua
- test/interactive_tarantool.lua 11 additions, 6 deletionstest/interactive_tarantool.lua
Loading