HomePhabricator

scripted-diff: test: replace command with msgtype (naming)

Description

scripted-diff: test: replace command with msgtype (naming)

Summary:

This is the functional test framework pendant for
7777e3624fabe4718675b2be8b088697b7ad4d0d, which renamed "strCommand"
with "msg_type" in the network processing code.

-BEGIN VERIFY SCRIPT-
 # Rename in test framework
 sed -i 's/command/msgtype/g'
./test/functional/test_framework/messages.py
./test/functional/test_framework/mininode.py
 # Rename in individual tests
 sed -i 's/command/msgtype/g' ./test/functional/p2p_invalid_messages.py
./test/functional/p2p_leak.py
-END VERIFY SCRIPT-

Backport of core PR18610.

Test Plan:

ninja check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Apr 10 2020, 20:56
FabienCommitted on Nov 19 2020, 17:01
FabienPushed on Nov 19 2020, 17:02
Reviewer
Restricted Project
Differential Revision
D8461: scripted-diff: test: replace command with msgtype (naming)
Parents
rABC8d54f58d4ffa: scripted-diff: Replace strCommand with msg_type
Branches
Unknown
Tags
Unknown