mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-05-11 10:13:38 +08:00
* 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>
16 lines
341 B
Python
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,
|
|
)
|