mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-05-19 07:51:40 +08:00
* Introduce integration test modularity * Fix Python 3.9 error * Add TODO * Update generators * Handle endpoints that only feature one provider that is not installed * Fix failing unit test
12 lines
307 B
Python
12 lines
307 B
Python
"""Test utils."""
|
|
import pytest
|
|
|
|
from extensions.tests.utils.helpers import check_docstring_examples
|
|
|
|
|
|
@pytest.mark.integration
|
|
def test_docstring_examples():
|
|
"""Test that the docstring examples execute without errors."""
|
|
errors = check_docstring_examples()
|
|
assert not errors, "\n".join(errors)
|