Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTP validation #3197

Merged
merged 27 commits into from
Apr 5, 2023
Merged

OTP validation #3197

merged 27 commits into from
Apr 5, 2023

Conversation

shreyamalviya
Copy link
Contributor

What does this PR do?

Fixes a part of #3078

PR Checklist

  • Have you added an explanation of what your changes do and why you'd like to include them?
  • Is the TravisCI build passing?
  • Was the CHANGELOG.md updated to reflect the changes?
  • Was the documentation framework updated to reflect the changes?
  • Have you checked that you haven't introduced any duplicate code?

Testing Checklist

  • Added relevant unit tests?
  • Do all unit tests pass?
  • Do all end-to-end tests pass?
  • Any other testing performed?

    Tested by {Running the Monkey locally with relevant config/running Island/...}

  • If applicable, add screenshots or log transcripts of the feature working

@codecov
Copy link

codecov bot commented Apr 5, 2023

Codecov Report

❗ No coverage uploaded for pull request base (develop@8a07fc3). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #3197   +/-   ##
==========================================
  Coverage           ?   73.05%           
==========================================
  Files              ?      471           
  Lines              ?    13585           
  Branches           ?        0           
==========================================
  Hits               ?     9924           
  Misses             ?     3661           
  Partials           ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

shreyamalviya and others added 24 commits April 5, 2023 14:22
So that similar methods are close to each other
This will prevent unnecessary encryption operations and speed up other
operations in this repository.
The only mutable property on the OTP is whether or not it's been used.
Limit the interface to allow mutating only this mutable property.
"called_once_with()" does not exist. It succeeds because mock mock
objects allow you to call arbitrary methods.
@mssalvatore mssalvatore force-pushed the 3078-otp-validation branch from 7cc0ac1 to a6bc055 Compare April 5, 2023 18:23
@mssalvatore mssalvatore marked this pull request as ready for review April 5, 2023 18:36
@mssalvatore mssalvatore merged commit beee177 into develop Apr 5, 2023
@mssalvatore mssalvatore deleted the 3078-otp-validation branch April 5, 2023 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants