-
Notifications
You must be signed in to change notification settings - Fork 15
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
test: Mock tests for SshnpCore #565
Conversation
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.
Generally I prefer to generate keypairs etc in test code rather than hard-coding but otherwise LGTM, nice work
@@ -0,0 +1,14 @@ | |||
class TestingKeyPair { |
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.
Why not just generate at test time?
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.
I can open another PR which generates the temp keys later on, it was quicker for me to hard code.
Can I get another review @gkc? Had to address a merge conflict. |
- What I did
- How I did it
- How to verify it
- Description for the changelog
test: Mock tests for SshnpCore