mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-28 20:23:36 +00:00
Introduce integration test modularity (#5865)
* 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
This commit is contained in:
11
openbb_platform/extensions/tests/test_docstring_examples.py
Normal file
11
openbb_platform/extensions/tests/test_docstring_examples.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""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)
|
||||
Reference in New Issue
Block a user