Comment #6 on issue 1697 by a3axa...@gmail.com: Telnet.Write skips output
results
http://code.google.com/p/robotframework/issues/detail?id=1697
def execute_command(self, command, loglevel=None):
self.write(command, loglevel)
return self.read_until_prompt(loglevel)
def write(self, text, loglevel=None):
if self._newline in text:
raise RuntimeError("'Write' keyword cannot be used with
strings "
"containing newlines. Use 'Write Bare'
instead.")
self.write_bare(text + self._newline)
# Can't read until 'text' because long lines are cut strangely in
the output
return self.read_until(self._newline, loglevel)
Telnet.write which is used in Telnet.ExecuteCommand firstly writes in the
output and then reads until receives _newline. Here is a bug in my opinion.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.