Page MenuHomePhabricator

[tests] Tidy up mininode
ClosedPublic

Authored by Fabien on Jan 21 2019, 09:09.

Details

Summary

Add docstrings and renames some methods.
Also removes the redundant NodeConn.readable() method override.

Partial backport of core PR11712 (commit 4d50598)

Depend on D2357

Test Plan
./test/functional/test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR11712_part2
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4602
Build 7267: Bitcoin ABC Buildbot (legacy)
Build 7266: arc lint + arc unit

Event Timeline

deadalnix requested changes to this revision.Jan 21 2019, 17:02
deadalnix added inline comments.
test/functional/test_framework/mininode.py
336

This wasn't backported properly.

This revision now requires changes to proceed.Jan 21 2019, 17:02
Fabien requested review of this revision.Jan 21 2019, 17:58
Fabien added inline comments.
test/functional/test_framework/mininode.py
336

This doesn't match exactly the PR because the I kept the mechanism introduced in D284. In this case the message is returned.

This revision is now accepted and ready to land.Jan 21 2019, 18:03
This revision was automatically updated to reflect the committed changes.