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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

deadalnix requested changes to this revision.Jan 21 2019, 17:02
deadalnix added inline comments.
test/functional/test_framework/mininode.py
336 ↗(On Diff #6772)

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 ↗(On Diff #6772)

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.