mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-03 15:55:47 +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
|
||||
quit(QuitSuccess)
|
||||
|
||||
disableParamFiltering()
|
||||
blockchainJsonMain(true)
|
||||
|
||||
# lastBlockHash -> every fixture has it, hash of a block header
|
||||
|
@ -231,4 +231,6 @@ when isMainModule:
|
||||
if len(message) > 0:
|
||||
echo message
|
||||
quit(QuitSuccess)
|
||||
|
||||
disableParamFiltering()
|
||||
generalStateJsonMain(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user