Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Noordsestern committed Aug 30, 2024
1 parent e0c5ecc commit 205ca25
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion atest/login.robot
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Resource resources/common.robot
Test Setup Open Connection ${HOST}
Test Teardown Close All Connections

Test Tags login

*** Variables ***
${KEY DIR} ${LOCAL TESTDATA}${/}keyfiles
${KEY USERNAME} testkey
Expand Down Expand Up @@ -66,7 +68,12 @@ Login With No Password

Login With Explicit No Password
[Setup] Open Connection ${HOST} prompt=${PROMPT}
Login ${USERNAME_NOPASSWD} ${EMPTY_STRING}
TRY
Login ${USERNAME_NOPASSWD} ${EMPTY_STRING}
EXCEPT Authentication failed for user '${USERNAME_NOPASSWD}'. AS ${ex}
Pass Execution Authentication with empty password failed as expected: ${ex}
END
Fail Authentication with empty password should have failed

Login With Empty Quotes No Password
[Setup] Open Connection ${HOST} prompt=${PROMPT}
Expand Down

0 comments on commit 205ca25

Please sign in to comment.