mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 21:42:22 +00:00
removing charting service on the tests for int tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""Test the integration tests."""
|
||||
from typing import Literal
|
||||
|
||||
from openbb_core.app.charting_service import ChartingService
|
||||
from openbb_charting import Charting
|
||||
|
||||
from extensions.tests.utils.integration_tests_testers import (
|
||||
check_missing_integration_test_params,
|
||||
@@ -40,7 +40,8 @@ def test_api_interface_wrong_integration_test_params() -> None:
|
||||
|
||||
def test_charting_extension_function_coverage() -> None:
|
||||
"""Test if all charting extension functions are covered by integration tests."""
|
||||
functions = ChartingService.get_implemented_charting_functions()
|
||||
functions = Charting.functions()
|
||||
|
||||
test_names = [f"test_chart_{func}" for func in functions]
|
||||
integration_tests_modules = get_integration_tests(
|
||||
test_type="api", filter_charting_ext=False
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""Test the integration tests."""
|
||||
from typing import Literal
|
||||
|
||||
from openbb_core.app.charting_service import ChartingService
|
||||
from openbb_charting import Charting
|
||||
|
||||
from extensions.tests.utils.integration_tests_testers import (
|
||||
check_missing_integration_test_params,
|
||||
@@ -40,7 +40,8 @@ def test_python_interface_wrong_integration_test_params() -> None:
|
||||
|
||||
def test_charting_extension_function_coverage() -> None:
|
||||
"""Test if all charting extension functions are covered by integration tests."""
|
||||
functions = ChartingService.get_implemented_charting_functions()
|
||||
functions = Charting.functions()
|
||||
|
||||
test_names = [f"test_chart_{func}" for func in functions]
|
||||
integration_tests_modules = get_integration_tests(
|
||||
test_type="python", filter_charting_ext=False
|
||||
|
||||
Reference in New Issue
Block a user