mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-08 18:32:21 +00:00
ruff tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# IMPORTATION STANDARD
|
||||
import os
|
||||
import json
|
||||
import os
|
||||
|
||||
# IMPORTATION THIRDPARTY
|
||||
import pytest
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
from unittest.mock import patch, MagicMock
|
||||
import requests
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import pytest
|
||||
import requests
|
||||
|
||||
from openbb_terminal.session import hub_model
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
# IMPORTATION STANDARD
|
||||
|
||||
# IMPORTATION THIRDPARTY
|
||||
from pathlib import Path
|
||||
import pytest
|
||||
import json
|
||||
from unittest.mock import patch, mock_open
|
||||
from pathlib import Path
|
||||
from unittest.mock import mock_open, patch
|
||||
|
||||
import pytest
|
||||
|
||||
# IMPORTATION INTERNAL
|
||||
from openbb_terminal.session import local_model
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
# IMPORTATION THIRDPARTY
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
# IMPORTATION INTERNAL
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
# IMPORTATION STANDARD
|
||||
|
||||
# IMPORTATION THIRDPARTY
|
||||
import os
|
||||
import json
|
||||
import os
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
from requests import Response
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ import pytest
|
||||
# IMPORTATION INTERNAL
|
||||
from openbb_terminal.session import user
|
||||
|
||||
|
||||
# pylint: disable=protected-access, redefined-outer-name
|
||||
|
||||
TEST_SESSION = {
|
||||
|
||||
Reference in New Issue
Block a user