HomePhabricator

Merge #14813: qa: Add wallet_encryption error tests

Description

Merge #14813: qa: Add wallet_encryption error tests

Summary:
fa739d4bd7 qa: Add wallet_encryption error tests (MarcoFalke)

Pull request description:

The errors for empty passphrases are the help text of the RPC call, which is not very specific. Replace that with proper RPC errors and test them.

Tree-SHA512: 3137e0f8f2e42a1f8ab1eeb57c99052557725f6f85139ff48c24acc8f3cf4087802de5216f3ce97375b291d21bddb7cd1379a6f280166136a306a0c9663bbd42

Backport of Core PR14813

Test Plan:

ninja
test_runner.py wallet_encryption

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5582

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Nov 27 2018, 18:54
nakihitoCommitted on Mar 26 2020, 23:38
nakihitoPushed on Mar 26 2020, 23:51
Reviewer
Restricted Owners Package
Differential Revision
D5582: Merge #14813: qa: Add wallet_encryption error tests
Parents
rSTAGINGe9e2fef6eb8c: Fixup release notes formatting
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/17236, tag: phabricator/base/17230