-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #473 from ppodgorsek/issue-376
Issue #376 - Cannot install easily custom libraries
- Loading branch information
Showing
6 changed files
with
176 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This test scenario was taken from https://github.com/FormulatedAutomation/robotframework-otp | ||
|
||
*** Settings *** | ||
Library OTP | ||
Library DateTime | ||
|
||
*** Variables *** | ||
${SECRET} base32secret | ||
|
||
*** Test Cases *** | ||
Get OTP from secret | ||
${otp}= Get OTP ${SECRET} | ||
Log To Console ${SECRET} | ||
Should Match Regexp ${otp} \\d{6} | ||
|
||
Get OTP from secret with time | ||
${timestamp}= Convert Date ${1402481262} epoch | ||
${otp}= Get OTP ${SECRET} ${timestamp} | ||
Should Match Regexp ${otp} \\d{6} | ||
Should Be Equal As Strings ${otp} 055118 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pyotp==2.9.0 | ||
robotframework-otp==1.1.0 |