MarketSquare / MarketSquare/SSHLibrary

SSH LIBRARY: Write keyword failure if text argument has more than 60 characters

Open
#366 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
167
Forks
145
PR merge metrics
No merged PRs in 30d

Description

Write keyword of sshlibrary is failing if the text argument is greater than 60 characters.

https://github.com/robotframework/SSHLibrary/blob/ac9a92795f94da605f6fd12e5a9716c9931ecd24/src/SSHLibrary/library.py#L1330

Sample xample:
*** Settings ***
Library SSHLibrary

*** Test cases ***
Write Keyword Test
Set Default Configuration timeout=5 secs
Open Connection
Login
${written}= Write echo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Should Contain ${written} echo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Close Connection

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at src/SSHLibrary/library.py around line 1330 and reproduce the failure with the sample Robot Framework test, using a text argument longer than 60 characters. Done means the Write keyword completes successfully and the sample Should Contain check passes for the full echoed text.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.