-
Notifications
You must be signed in to change notification settings - Fork 18
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
Added unit test for remaining admin modules #59
Merged
amendelzon
merged 3 commits into
master
from
feature/56-add-unit-test-for-remaining-admin-modules
Jun 22, 2022
Merged
Added unit test for remaining admin modules #59
amendelzon
merged 3 commits into
master
from
feature/56-add-unit-test-for-remaining-admin-modules
Jun 22, 2022
Conversation
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
Collaborator
italo-sampaio
commented
Jun 15, 2022
- Added unit tests for certificate.py
- Added unit tests for dongle_admin.py
- Added unit tests for rsk_client.py
- Improved execution time for admin unit tests
- Improved test coverage for attestation.py unit tests
- Added unit tests for certificate.py - Added unit tests for rsk_client.py - Added unit tests for dongle_admin.py - Refactor unit test for attestation.py - Optimized test_verify_attestation.py to use only one ecdsa library for keys manipulation - Reduced execution time for admin tests - Removed unnecessary check on certificate.py
italo-sampaio
force-pushed
the
feature/56-add-unit-test-for-remaining-admin-modules
branch
from
June 21, 2022 18:39
261d9e9
to
68aa174
Compare
amendelzon
requested changes
Jun 21, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great, but I do think we need to address a few issues before merging.
- Reverted changes on copyright year - Fixed test_attestation according to the code review - Changed generation of random hex string to a clearer form on certificate unit test - Fixed certificate unit tests to follow the right semantics - Created separete class for HSMCertificateElement unit test - Fixed rsk_client unit tests to avoid mocking os.random
amendelzon
reviewed
Jun 22, 2022
amendelzon
reviewed
Jun 22, 2022
amendelzon
approved these changes
Jun 22, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, a few minor comments in passing just for awareness.
amendelzon
deleted the
feature/56-add-unit-test-for-remaining-admin-modules
branch
June 22, 2022 23:59
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.