ruff tests

This commit is contained in:
Diogo Sousa
2023-02-05 19:31:00 +00:00
parent c7342cd43d
commit 2d4e7c1aac
6 changed files with 11 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
# IMPORTATION STANDARD
import os
import json
import os
# IMPORTATION THIRDPARTY
import pytest

View File

@@ -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

View File

@@ -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

View File

@@ -2,6 +2,7 @@
# IMPORTATION THIRDPARTY
from unittest.mock import patch
import pytest
# IMPORTATION INTERNAL

View File

@@ -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

View File

@@ -7,7 +7,6 @@ import pytest
# IMPORTATION INTERNAL
from openbb_terminal.session import user
# pylint: disable=protected-access, redefined-outer-name
TEST_SESSION = {