-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 rpc wallet endpoint tests and update version check #4268
Add rpc wallet endpoint tests and update version check #4268
Conversation
This commit includes the following changes: * New tests for methods 'lockwallet', 'unlockwallet', 'removewalletpassword', and 'setwalletpassword'. * New 'getbalance' method error handing tests to verify error message correctness when wallet is locked/unlocked. * Update to 'getversion' method test -- now expects 1.3.4. * Minor change to help output tests, showing how to check correctness of each line of output.
To run the test suite: (1) Clone and Build
(2) Run the server on Linux or OSX:
(3) Let the server initialize (sync) for 2+ minutes. (4) Run the bats test suite:
All tests should pass. |
@ghubstan If you could find someone else that's interested in this project to do reviews and for you to bounce ideas I think that would be ideal. I follow it but not in detail so it's hard to do the reviews. |
Closing, will be replaced by new PR off less stale main branch. |
Replaced by 4296 |
You can rebase against master and force push to this PR branch; no need to close and re-create a new PR.
… On Jun 12, 2020, at 9:29 PM, Stan ***@***.***> wrote:
Closing, will be replaced by new PR off less stale main branch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I didn’t see that the new one had already been created when I wrote the above; just a note for future reference, then.
… On Jun 13, 2020, at 7:09 AM, Chris Beams ***@***.***> wrote:
You can rebase against master and force push to this PR branch; no need to close and re-create a new PR.
>> On Jun 12, 2020, at 9:29 PM, Stan ***@***.***> wrote:
>>
>
> Closing, will be replaced by new PR off less stale main branch.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
|
This commit includes the following changes:
New tests for methods
lockwallet
,unlockwallet
,removewalletpassword
, andsetwalletpassword
.New
getbalance
method error handing tests to verifyerror message correctness when wallet is locked.
Update to
getversion
method test -- now expects1.3.4
.Check for new
[params]
column header in help text.This PR replaces 4243, which had not been kept in sync with commits to tested methods in 4214 .