Files
OpenBB/openbb_platform/extensions/quantitative/tests/test_quantitative_helpers.py
Igor Radovanovic a255fa52a0 [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>
2024-04-09 13:30:29 +00:00

16 lines
341 B
Python

"""Test the quantitative helpers."""
import pandas as pd
from extensions.quantitative.openbb_quantitative.helpers import (
validate_window,
)
def test_validate_window():
"""Test the validate_window function."""
input_data = pd.Series(range(1, 100))
validate_window(
input_data=input_data,
window=20,
)