mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add unit tests for junos terminal (#47103)
This commit is contained in:
committed by
Ganesh Nalawade
parent
c3cc2ecc5b
commit
ab8ed2f84d
@@ -49,7 +49,7 @@ class TerminalModule(TerminalBase):
|
||||
prompt = self._get_prompt()
|
||||
if prompt.strip().endswith(b'%'):
|
||||
display.vvv('starting cli', self._connection._play_context.remote_addr)
|
||||
self._exec_cli_command('cli')
|
||||
self._exec_cli_command(b'cli')
|
||||
for c in (b'set cli timestamp disable', b'set cli screen-length 0', b'set cli screen-width 1024'):
|
||||
self._exec_cli_command(c)
|
||||
except AnsibleConnectionFailure:
|
||||
|
||||
Reference in New Issue
Block a user