comment changed; logging level of blob parser set to below debug
This commit is contained in:
parent
f7e4953a4e
commit
8ab13fe4fb
@ -29,9 +29,9 @@ class EitherParserWrapper:
|
||||
|
||||
def __log(self, result):
|
||||
if isinstance(result, Right):
|
||||
logger.debug(f"{self.parser.__class__.__name__} succeeded or forwarded on {result.bind()}")
|
||||
logger.log(logging.DEBUG - 5, f"{self.parser.__class__.__name__} succeeded or forwarded on {result.bind()}")
|
||||
else:
|
||||
logger.debug(f"{self.parser.__class__.__name__} failed on {result.bind()}")
|
||||
logger.log(logging.DEBUG - 5, f"{self.parser.__class__.__name__} failed on {result.bind()}")
|
||||
return result
|
||||
|
||||
def parse(self, item: Either):
|
||||
|
||||
@ -6,14 +6,15 @@ from funcy import lmapcat
|
||||
|
||||
from pyinfra.exceptions import ProcessingFailure
|
||||
from pyinfra.utils.encoding import pack_for_upload
|
||||
from pyinfra.visitor import ForwardingStrategy, SingleDownloadStrategy
|
||||
from pyinfra.visitor.strategies.download.single import SingleDownloadStrategy
|
||||
from pyinfra.visitor.strategies.response.forwarding import ForwardingStrategy
|
||||
|
||||
logger = logging.getLogger()
|
||||
|
||||
|
||||
@pytest.mark.xfail(
|
||||
reason="NOTE: Something is messed up in the test setups."
|
||||
"These tests fail when run together with other tests. Do not know yet which ones and why."
|
||||
" These tests fail when run together with other tests. Do not know yet which ones and why."
|
||||
)
|
||||
class TestConsumer:
|
||||
@pytest.mark.parametrize("queue_manager_name", ["mock", "pika"], scope="session")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user