File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ def session_preparation(self) -> None:
1212 self ._test_channel_read ()
1313 self .set_base_prompt ()
1414 commands = [
15- "environment inhibit-alarms " ,
16- "environment screen-length 0 " ,
15+ "environment mode batch " ,
16+ "exit " ,
1717 ]
1818 for command in commands :
1919 self .disable_paging (command = command , cmd_verify = True , pattern = r"#" )
@@ -60,7 +60,7 @@ def config_mode(
6060 config_command = config_command , pattern = pattern , re_flags = re_flags
6161 )
6262
63- def exit_config_mode (self , exit_config : str = "exit" , pattern : str = "" ) -> str :
63+ def exit_config_mode (self , exit_config : str = "exit all " , pattern : str = "" ) -> str :
6464 return super ().exit_config_mode (exit_config = exit_config )
6565
6666 def save_config (
You can’t perform that action at this time.
0 commit comments