[Release] openbb-v5.0.0 (#7741)

* merge branch develop with main

* bump desktop version

* fix the merge

* sync Cargo.lock to desktop 2.0.0

* fix cli conftest.py

---------

Co-authored-by: deeleeramone <>
This commit is contained in:
Danglewood
2026-09-29 10:58:44 -07:00
committed by GitHub
parent aca5e6a73d
commit 869cfed125
4364 changed files with 1360878 additions and 1408198 deletions

View File

@@ -3,13 +3,12 @@
from unittest.mock import MagicMock, Mock, patch
import pytest
from openbb_cli.controllers.base_platform_controller import (
PlatformController,
Session,
)
# pylint: disable=protected-access, unused-variable, redefined-outer-name
@pytest.fixture
def platform_controller():
@@ -35,9 +34,9 @@ def platform_controller():
def test_platform_controller_initialization(platform_controller):
"""Test the initialization of the platform controller."""
expected_path = "/platform/test/"
assert (
expected_path == platform_controller.PATH
), "Controller path was not set correctly"
assert expected_path == platform_controller.PATH, (
"Controller path was not set correctly"
)
@pytest.mark.integration
@@ -51,9 +50,9 @@ def test_command_generation(platform_controller):
name=command_name, translator=platform_controller.translators[command_name]
)
command_method_name = f"call_{command_name}"
assert hasattr(
platform_controller, command_method_name
), "Command method was not created"
assert hasattr(platform_controller, command_method_name), (
"Command method was not created"
)
@patch(