mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-27 03:33:24 +00:00
fix: test openapi.json (#6530)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user