fix: test openapi.json (#6530)

This commit is contained in:
montezdesousa
2024-06-22 12:31:49 +01:00
committed by GitHub
parent 919cb023dc
commit 99153d40fc
2 changed files with 5 additions and 12 deletions

View File

@@ -1,14 +1,8 @@
"""Test rest_api.py."""
import pytest
from openbb_core.api.rest_api import app
@pytest.mark.skip(
"This test forces a side effect that makes test_integration_tests_ to fail in the GitHub actions.",
)
def test_openapi():
"""Test openapi schema generation."""
# pylint: disable=import-outside-toplevel
from openbb_core.api.rest_api import app
assert app.openapi()