mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 18:01:10 +00:00
ruff
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from unittest.mock import MagicMock, patch
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
import pytest
|
||||
from openbb_core.app.logs.handlers.posthog_handler import (
|
||||
PosthogHandler,
|
||||
)
|
||||
import logging
|
||||
|
||||
|
||||
class MockLoggingSettings:
|
||||
|
||||
@@ -2,6 +2,7 @@ import os
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
import pytest
|
||||
from openbb_core.app.logs.utils.expired_files import (
|
||||
@@ -10,8 +11,6 @@ from openbb_core.app.logs.utils.expired_files import (
|
||||
remove_file_list,
|
||||
)
|
||||
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def temp_test_files():
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import pytest
|
||||
import uuid
|
||||
from pathlib import Path
|
||||
|
||||
from unittest.mock import patch
|
||||
|
||||
from openbb_core.app.logs.utils.utils import get_session_id, get_app_id, get_log_dir
|
||||
import pytest
|
||||
from openbb_core.app.logs.utils.utils import get_app_id, get_log_dir, get_session_id
|
||||
|
||||
## get_session_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user