Skip to content

Commit

Permalink
Merge pull request #7348 from drew2a/fix/pytest_faker_logs
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Apr 5, 2023
2 parents 037d839 + a7d9767 commit 0da3c82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tribler/core/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import asyncio
import logging
import os
import platform
import sys
Expand Down Expand Up @@ -32,6 +33,11 @@
sys.set_coroutine_origin_tracking_depth(10)


def pytest_configure(config): # pylint: disable=unused-argument
# Disable logging from faker for all tests
logging.getLogger('faker.factory').propagate = False


@pytest.fixture(name="tribler_root_dir")
def _tribler_root_dir(tmp_path):
return Path(tmp_path)
Expand Down

0 comments on commit 0da3c82

Please sign in to comment.