mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-09 10:44:48 +00:00
add disableParamFiltering() to both test_generalstate_json and test_blockchain_json
disableParamFiltering() is called in test_all, so its ok when called via test_all. but when test_generalstate_json or test_blockchain_json is called independently, and we are using command line switch, the default param handler from std/unittest will interfere. hence need to disable it.
This commit is contained in:
parent
a95cec3aa8
commit
639674d341
@ -795,6 +795,7 @@ when isMainModule:
|
|||||||
echo message
|
echo message
|
||||||
quit(QuitSuccess)
|
quit(QuitSuccess)
|
||||||
|
|
||||||
|
disableParamFiltering()
|
||||||
blockchainJsonMain(true)
|
blockchainJsonMain(true)
|
||||||
|
|
||||||
# lastBlockHash -> every fixture has it, hash of a block header
|
# lastBlockHash -> every fixture has it, hash of a block header
|
||||||
|
@ -231,4 +231,6 @@ when isMainModule:
|
|||||||
if len(message) > 0:
|
if len(message) > 0:
|
||||||
echo message
|
echo message
|
||||||
quit(QuitSuccess)
|
quit(QuitSuccess)
|
||||||
|
|
||||||
|
disableParamFiltering()
|
||||||
generalStateJsonMain(true)
|
generalStateJsonMain(true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user