Enables stdout for unit tests

By default pytests does not capture stdout, but it can do with -s. It is nice to have the option to verbose the tests if needed
This commit is contained in:
Sergi Delgado Segura
2019-12-17 17:22:40 +01:00
parent d4e7e999e1
commit fffcb39124
12 changed files with 1 additions and 29 deletions

View File

@@ -1,13 +1,11 @@
import pytest
from pisa import c_logger
from pisa.carrier import Carrier
from test.simulator.utils import sha256d
from test.simulator.transaction import TX
from test.pisa.unit.conftest import generate_blocks, get_random_value_hex
from pisa.rpc_errors import RPC_VERIFY_ALREADY_IN_CHAIN, RPC_DESERIALIZATION_ERROR
c_logger.disabled = True
# FIXME: This test do not fully cover the carrier since the simulator does not support every single error bitcoind may
# return for RPC_VERIFY_REJECTED and RPC_VERIFY_ERROR. Further development of the simulator / mocks or simulation