Page MenuHomePhabricator

tests: move pwalletMain to wallet test fixture
ClosedPublic

Authored by Fabien on May 23 2019, 13:04.

Details

Summary
Scope the variable instead of using an external global; this is how test
fixtures are intended to be used.

Followup to #11713.

Backport of core PR11718
https://github.com/bitcoin/bitcoin/pull/11718/files

Depends on D3097
Completes T659

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR11718
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5953
Build 9966: Bitcoin ABC Buildbot (legacy)
Build 9965: arc lint + arc unit