Files
OpenBB/openbb_platform/extensions/tests/test_docstring_examples.py
Igor Radovanovic 3d2a9cdb9a 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
2023-12-06 19:39:39 +00:00

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)