Skip to content

Commit

Permalink
Disable helpy logging in whole tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Radek Masłowski committed Oct 30, 2024
1 parent 7075608 commit 2d6750e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/python/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from typing import TYPE_CHECKING, NoReturn

import pytest
from loguru import logger

import test_tools as tt
from test_tools.__private.scope.scope_fixtures import * # noqa: F403
Expand All @@ -17,6 +18,11 @@ def pytest_addoption(parser: pytest.Parser):
parser.addoption("--http-endpoint", action="store", type=str, help="specifies http_endpoint of reference node")


@pytest.fixture(autouse=True)
def _disable_logging() -> None:
logger.disable("helpy")


@pytest.fixture()
def node(request: pytest.FixtureRequest) -> tt.InitNode | tt.RemoteNode: # noqa: C901
"""
Expand Down

0 comments on commit 2d6750e

Please sign in to comment.