mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Cleanup
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
"""Test the integration tests."""
|
||||
import pytest
|
||||
from extensions.tests.utils.integration_tests_testers import (
|
||||
check_missing_integration_test_params,
|
||||
check_missing_integration_test_providers,
|
||||
@@ -17,17 +16,11 @@ def run_test(test_type: str, check_function) -> None:
|
||||
assert not missing_items, "\n".join(missing_items)
|
||||
|
||||
|
||||
# TODO: Check if this can work without being an integration test
|
||||
@pytest.mark.integration
|
||||
def test_api_interface_integration_test_providers() -> None:
|
||||
"""Test if there are any missing providers for integration tests."""
|
||||
run_test("api", check_missing_integration_test_providers)
|
||||
|
||||
|
||||
@pytest.mark.integration
|
||||
def test_api_interface_integration_test_params() -> None:
|
||||
"""Test if there are any missing params for integration tests."""
|
||||
run_test("api", check_missing_integration_test_params)
|
||||
|
||||
|
||||
test_api_interface_integration_test_params()
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
"""Test the integration tests."""
|
||||
import pytest
|
||||
from extensions.tests.utils.integration_tests_testers import (
|
||||
check_missing_integration_test_params,
|
||||
check_missing_integration_test_providers,
|
||||
@@ -17,14 +16,11 @@ def run_test(test_type: str, check_function) -> None:
|
||||
assert not missing_items, "\n".join(missing_items)
|
||||
|
||||
|
||||
# TODO: Check if this can work without being an integration test
|
||||
@pytest.mark.integration
|
||||
def test_python_interface_integration_test_providers() -> None:
|
||||
"""Test if there are any missing providers for integration tests."""
|
||||
run_test("python", check_missing_integration_test_providers)
|
||||
|
||||
|
||||
@pytest.mark.integration
|
||||
def test_python_interface_integration_test_params() -> None:
|
||||
"""Test if there are any missing params for integration tests."""
|
||||
run_test("python", check_missing_integration_test_params)
|
||||
|
||||
Reference in New Issue
Block a user