mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 06:34:19 +01:00
Updates tests to dissable logging based on 17e6066
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import pytest
|
||||
import logging
|
||||
|
||||
from pisa import c_logger
|
||||
from pisa.carrier import Carrier
|
||||
from test.simulator.utils import sha256d
|
||||
from test.simulator.transaction import TX
|
||||
@@ -8,7 +8,7 @@ from test.unit.conftest import generate_blocks
|
||||
from test.unit.conftest import get_random_value_hex
|
||||
from pisa.rpc_errors import RPC_VERIFY_ALREADY_IN_CHAIN, RPC_DESERIALIZATION_ERROR
|
||||
|
||||
logging.getLogger().disabled = True
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user