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

Add key recover test #7183

Merged
merged 5 commits into from
Aug 28, 2020
Merged

Add key recover test #7183

merged 5 commits into from
Aug 28, 2020

Conversation

PaddyMc
Copy link
Contributor

@PaddyMc PaddyMc commented Aug 27, 2020

Description

Add tests for #7049

Closes: #7179

How to test

Run:

make test

see all passing test

Or

go test -run client/keys/add_test.go

see passing test

🤝

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@PaddyMc PaddyMc changed the title Paddy/add key recover test Add key recover test Aug 27, 2020
@codecov
Copy link

codecov bot commented Aug 27, 2020

Codecov Report

Merging #7183 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7183      +/-   ##
==========================================
+ Coverage   54.74%   54.78%   +0.04%     
==========================================
  Files         563      563              
  Lines       38624    38624              
==========================================
+ Hits        21145    21162      +17     
+ Misses      15748    15730      -18     
- Partials     1731     1732       +1     

client/keys/add_test.go Outdated Show resolved Hide resolved
@alessio alessio self-assigned this Aug 28, 2020
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK :)

@alexanderbez alexanderbez added A:automerge Automatically merge PR once all prerequisites pass. T: Tests labels Aug 28, 2020
@alessio alessio merged commit f652ba4 into master Aug 28, 2020
@alessio alessio deleted the paddy/add-key-recover-test branch August 28, 2020 16:29
alessio pushed a commit that referenced this pull request Aug 28, 2020
Fix the command line `keys add` interactive mode
that fails when asked to generate new mnemonic.

Closes: #7048
From:
- #7049
- #7183
Thanks: @puneet2019 @PaddyMc for the patches.
alessio pushed a commit that referenced this pull request Aug 31, 2020
Fix the command line `keys add` interactive mode
that fails when asked to generate new mnemonic.

Closes: #7048
From:
- #7049
- #7183
Thanks: @puneet2019 @PaddyMc for the patches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. T: Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add test case to validate PR #7049
4 participants