mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-04 00:12:29 +00:00
[Enhancement] - PyDocstyle Compliant (#6284)
* PyDocstyle Compliant batch 1 * Batch 2 * Batch 3 * Batch 4 * Batch 5 * Batch 6 * Batch 7 * Linting * MyPy * mypy things * black * more mypy * black * fix that * black again * undo that * Fix error message * pylint --------- Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
This commit is contained in:
@@ -25,6 +25,7 @@ def obb(pytestconfig): # pylint: disable=inconsistent-return-statements
|
||||
)
|
||||
@pytest.mark.integration
|
||||
def test_crypto_search(params, obb):
|
||||
"""Test the crypto search endpoint."""
|
||||
params = {p: v for p, v in params.items() if v}
|
||||
|
||||
result = obb.crypto.search(**params)
|
||||
@@ -109,6 +110,7 @@ def test_crypto_search(params, obb):
|
||||
)
|
||||
@pytest.mark.integration
|
||||
def test_crypto_price_historical(params, obb):
|
||||
"""Test crypto price historical."""
|
||||
result = obb.crypto.price.historical(**params)
|
||||
assert result
|
||||
assert isinstance(result, OBBject)
|
||||
|
||||
Reference in New Issue
Block a user