Page MenuHomePhabricator

Allow multiwallet.py to be used with --usecli
ClosedPublic

Authored by Fabien on Jan 23 2019, 17:52.

Details

Summary

Add test coverage for bitcoin-cli multiwallet calls.

Partial backport of core PR11970 (commit a14dbff)

Depends on D2399 and D2402

Test Plan
./test/function/test_runner.py

Ensure that wallet_multiwallet.py is run twice, the second time with
the --usecli argument

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR11970_part5
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4672
Build 7407: Bitcoin ABC Buildbot (legacy)
Build 7406: arc lint + arc unit

Event Timeline

deadalnix requested changes to this revision.Jan 24 2019, 14:30
deadalnix added inline comments.
test/functional/test_runner.py
79 ↗(On Diff #6898)

This needs to be fixed.

This revision now requires changes to proceed.Jan 24 2019, 14:30
deadalnix added inline comments.
test/functional/test_runner.py
79 ↗(On Diff #6907)

Use trailing coma

test/functional/wallet_multiwallet.py
30 ↗(On Diff #6907)

Why isn't this a lambda as in the original PR ?

This revision is now accepted and ready to land.Jan 24 2019, 15:41
test/functional/wallet_multiwallet.py
30 ↗(On Diff #6907)

This is an autopep8 rule, if the lambda is assigned, then you'd better have a function.
I don't understand why it didn't change data_dir and wallet_dir as well.

test/functional/wallet_multiwallet.py
30 ↗(On Diff #6907)

autopep8 is somewhat retarded.

This revision was automatically updated to reflect the committed changes.